net-nntp/nzbget: re-add a missing patch for old versions
authorLouis Sautier <sautier.louis@gmail.com>
Mon, 16 May 2016 21:31:49 +0000 (23:31 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 16 May 2016 21:14:45 +0000 (21:14 +0000)
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@gentoo.org>
net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch [new file with mode: 0644]

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 (file)
index 0000000..e6cd13f
--- /dev/null
@@ -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