public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/apachetop/, app-admin/apachetop/files/
Date: Tue, 14 Jan 2020 02:43:22 +0000 (UTC)	[thread overview]
Message-ID: <1578969797.73e2822bb656b80e296a1a2c18259a2988939f48.jer@gentoo> (raw)

commit:     73e2822bb656b80e296a1a2c18259a2988939f48
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 02:20:53 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 02:43:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73e2822b

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 <AT> gentoo.org>

 app-admin/apachetop/apachetop-0.18.4.ebuild            |  8 +++++---
 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 2f5954eb82b..c0a18315d1d 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 00000000000..d975a430914
--- /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] ,
+     [] ,
+     [


             reply	other threads:[~2020-01-14  2:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14  2:43 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30 11:21 [gentoo-commits] repo/gentoo:master commit in: app-admin/apachetop/, app-admin/apachetop/files/ Petr Vaněk
2023-02-14  3:36 Sam James
2017-12-29 22:33 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1578969797.73e2822bb656b80e296a1a2c18259a2988939f48.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox