diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-01-14 03:20:53 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-01-14 03:43:17 +0100 |
commit | 73e2822bb656b80e296a1a2c18259a2988939f48 (patch) | |
tree | 8789c8c0f760596a2269c4320da097468af51ac0 /app-admin/apachetop | |
parent | net-analyzer/mk-livestatus: Revision bump for dependency change (diff) | |
download | gentoo-73e2822bb656b80e296a1a2c18259a2988939f48.tar.gz gentoo-73e2822bb656b80e296a1a2c18259a2988939f48.tar.bz2 gentoo-73e2822bb656b80e296a1a2c18259a2988939f48.zip |
app-admin/apachetop: Fix building against sys-libs/ncurses[tinfo]
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://bugs.gentoo.org/690082
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-admin/apachetop')
-rw-r--r-- | app-admin/apachetop/apachetop-0.18.4.ebuild | 8 | ||||
-rw-r--r-- | app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/app-admin/apachetop/apachetop-0.18.4.ebuild b/app-admin/apachetop/apachetop-0.18.4.ebuild index 2f5954eb82bf..c0a18315d1da 100644 --- a/app-admin/apachetop/apachetop-0.18.4.ebuild +++ b/app-admin/apachetop/apachetop-0.18.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,8 +19,10 @@ RDEPEND=" sys-libs/readline:0= fam? ( virtual/fam ) pcre? ( dev-libs/libpcre )" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-0.18.4-tinfo.patch +) src_prepare() { default diff --git a/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch b/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch new file mode 100644 index 000000000000..d975a430914f --- /dev/null +++ b/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -133,7 +133,7 @@ + AC_SEARCH_LIBS([socket], [socket]) + AC_SEARCH_LIBS([inet_addr], [nsl]) + AC_SEARCH_LIBS([attron], [ncurses]) +-AC_SEARCH_LIBS([tgetstr], [termcap]) ++AC_SEARCH_LIBS([tgetstr], [tinfo termcap]) + AC_SEARCH_LIBS([mvprintw], [curses ncurses] , + [] , + [ |