commit:     8c3e544f175ca56dd9a66f81c0d7a31454868454
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Mon May 16 21:31:49 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon May 16 21:14:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3e544f

net-nntp/nzbget: re-add a missing patch for old versions

Gentoo-Bug: https://bugs.gentoo.org/581142

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1478

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch 
b/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
new file mode 100644
index 0000000..e6cd13f
--- /dev/null
+++ b/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
@@ -0,0 +1,18 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -46,6 +46,7 @@
+ AC_PATH_PROG(MAKE, make, $FALSE)
+ AC_PROG_INSTALL
+ 
++PKG_PROG_PKG_CONFIG()
+ 
+ dnl
+ dnl Do all tests with c++ compiler.
+@@ -291,6 +292,7 @@
+       if test "$FOUND" = "no"; then
+               AC_MSG_ERROR([Couldn't find curses headers (ncurses.h or 
curses.h)])
+       fi
++      PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
+       AC_SEARCH_LIBS([refresh], [ncurses curses],, 
+               AC_ERROR([Couldn't find curses library]))
+ else

Reply via email to