public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/files/, app-antivirus/clamav/
Date: Wed, 31 Jul 2019 12:47:45 +0000 (UTC)	[thread overview]
Message-ID: <1564577259.ca05c21a3ab3e69ff60da41cb10cba2de84ed614.polynomial-c@gentoo> (raw)

commit:     ca05c21a3ab3e69ff60da41cb10cba2de84ed614
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 12:47:12 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 12:47:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca05c21a

app-antivirus/clamav: Fixed compilation with sys-libs/ncurses[tinfo]

Fixed without excplicit permission due to maintainer timeout.

Thanks-to: Jeroen Roovers <jer <AT> gentoo.org>
Bug: https://bugs.gentoo.org/670729
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-antivirus/clamav/clamav-0.101.2-r1.ebuild      |  3 ++-
 .../clamav/files/clamav-0.101.2-tinfo.patch        | 31 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/app-antivirus/clamav/clamav-0.101.2-r1.ebuild b/app-antivirus/clamav/clamav-0.101.2-r1.ebuild
index 986cc1711ae..372a1c6336b 100644
--- a/app-antivirus/clamav/clamav-0.101.2-r1.ebuild
+++ b/app-antivirus/clamav/clamav-0.101.2-r1.ebuild
@@ -41,7 +41,8 @@ DOCS=( docs/UserManual.md docs/UserManual )
 HTML_DOCS=( docs/html )
 
 PATCHES=(
-	"${FILESDIR}/clamav-0.101.2-libxml2_pkgconfig.patch" #661328
+	"${FILESDIR}/${PN}-0.101.2-libxml2_pkgconfig.patch" #661328
+	"${FILESDIR}/${PN}-0.101.2-tinfo.patch" #670729
 )
 
 pkg_setup() {

diff --git a/app-antivirus/clamav/files/clamav-0.101.2-tinfo.patch b/app-antivirus/clamav/files/clamav-0.101.2-tinfo.patch
new file mode 100644
index 00000000000..66130be4188
--- /dev/null
+++ b/app-antivirus/clamav/files/clamav-0.101.2-tinfo.patch
@@ -0,0 +1,31 @@
+https://bugs.gentoo.org/670729
+
+--- a/m4/reorganization/clamdtop.m4
++++ b/m4/reorganization/clamdtop.m4
+@@ -4,12 +4,26 @@
+ 
+ if test "$enable_clamdtop" != "no"; then
+ 
++PKG_CHECK_MODULES([CURSES], [ncursesw],
++		[CURSES_INCLUDE="<ncurses.h>";
++		 HAVE_LIBNCURSES=yes],
++		HAVE_LIBNCURSES=no])
++
++if test "X$HAVE_LIBNCURSES" != "Xyes"; then
++PKG_CHECK_MODULES([CURSES], [ncurses],
++	    [CURSES_INCLUDE="<ncurses.h>";
++	     HAVE_LIBNCURSES=yes],
++	    HAVE_LIBNCURSES=no])
++fi
++
++if test "X$HAVE_LIBNCURSES" != "Xyes"; then
+ AC_LIB_FIND([ncurses], [ncurses/ncurses.h],
+ 	    AC_LANG_PROGRAM([#include <ncurses/ncurses.h>],
+ 			    [initscr(); KEY_RESIZE;]),
+ 	    [CURSES_CPPFLAGS="$INCNCURSES"; CURSES_LIBS="$LTLIBNCURSES";
+ 	     CURSES_INCLUDE="<ncurses/ncurses.h>"],
+ 	    [])
++fi
+ 
+ if test "X$HAVE_LIBNCURSES" != "Xyes"; then
+     HAVE_LIBNCURSES=


             reply	other threads:[~2019-07-31 12:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-31 12:47 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-27 11:32 [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/files/, app-antivirus/clamav/ Michael Orlitzky
2024-10-27 11:22 Andreas K. Hüttel
2024-09-23 11:48 Matt Jolly
2024-09-23 11:12 Matt Jolly
2024-06-24 11:05 Matt Jolly
2022-12-05 21:03 Thomas Raschbacher
2021-10-16 12:26 Thomas Raschbacher
2021-02-09 19:48 Michael Orlitzky
2020-09-23  3:34 Michael Orlitzky
2020-09-23  3:34 Michael Orlitzky
2020-09-20 19:35 Michael Orlitzky
2020-06-09  1:53 Michael Orlitzky
2019-11-25 16:27 Lars Wendler
2019-11-25  4:08 Michael Orlitzky
2019-07-31 12:07 Lars Wendler
2018-03-02 18:42 Thomas Raschbacher
2018-02-23 19:00 Thomas Deutschmann
2017-12-24 23:12 Mike Gilbert
2017-04-23 20:26 Jeroen Roovers
2016-12-25 18:13 Sergei Trofimovich

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=1564577259.ca05c21a3ab3e69ff60da41cb10cba2de84ed614.polynomial-c@gentoo \
    --to=polynomial-c@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