Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nntp/nzbget/files: nzbget-14.0_pre1145-tinfo.patch
Date: Tue, 28 Oct 2014 19:36:25
Message-Id: 20141028193621.DC0468F41@oystercatcher.gentoo.org
1 jer 14/10/28 19:36:21
2
3 Added: nzbget-14.0_pre1145-tinfo.patch
4 Log:
5 Fix building against sys-libs/ncurses[tinfo] (bug #527262).
6
7 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
8
9 Revision Changes Path
10 1.1 net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch?rev=1.1&content-type=text/plain
14
15 Index: nzbget-14.0_pre1145-tinfo.patch
16 ===================================================================
17 --- a/configure.ac
18 +++ b/configure.ac
19 @@ -46,6 +46,7 @@
20 AC_PATH_PROG(MAKE, make, $FALSE)
21 AC_PROG_INSTALL
22
23 +PKG_PROG_PKG_CONFIG()
24
25 dnl
26 dnl Do all tests with c++ compiler.
27 @@ -291,6 +292,7 @@
28 if test "$FOUND" = "no"; then
29 AC_MSG_ERROR([Couldn't find curses headers (ncurses.h or curses.h)])
30 fi
31 + PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
32 AC_SEARCH_LIBS([refresh], [ncurses curses],,
33 AC_ERROR([Couldn't find curses library]))
34 else