Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/lame/files: lame-3.99.5-tinfo.patch lame-3.99.5-pkgconfig-to-get-correct-libs.patch
Date: Sun, 03 Mar 2013 15:08:04
Message-Id: 20130303150800.6444B2171D@flycatcher.gentoo.org
1 ssuominen 13/03/03 15:08:00
2
3 Added: lame-3.99.5-tinfo.patch
4 Removed: lame-3.99.5-pkgconfig-to-get-correct-libs.patch
5 Log:
6 Check for tgetent instead of initscr from the termcap library; check for -ltinfo too. This will replace the prev. pkg-config patch.
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.1 media-sound/lame/files/lame-3.99.5-tinfo.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/files/lame-3.99.5-tinfo.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/lame/files/lame-3.99.5-tinfo.patch?rev=1.1&content-type=text/plain
15
16 Index: lame-3.99.5-tinfo.patch
17 ===================================================================
18 initscr is not used anywhere in lame sourcetree, check for used tgetent instead
19 check for separate tinfo library optionally built out from libncurses source tree,
20 like used in debian and gentoo
21 - ssuominen@g.o
22
23 http://bugs.gentoo.org/454322
24
25 --- configure.in
26 +++ configure.in
27 @@ -372,9 +372,10 @@
28
29 AC_CHECK_HEADERS(termcap.h)
30 AC_CHECK_HEADERS(ncurses/termcap.h)
31 -AC_CHECK_LIB(termcap, initscr, HAVE_TERMCAP="termcap")
32 -AC_CHECK_LIB(curses, initscr, HAVE_TERMCAP="curses")
33 -AC_CHECK_LIB(ncurses, initscr, HAVE_TERMCAP="ncurses")
34 +AC_CHECK_LIB(termcap, tgetent, HAVE_TERMCAP="termcap")
35 +AC_CHECK_LIB(curses, tgetent, HAVE_TERMCAP="curses")
36 +AC_CHECK_LIB(ncurses, tgetent, HAVE_TERMCAP="ncurses")
37 +AC_CHECK_LIB(tinfo, tgetent, HAVE_TERMCAP="tinfo")
38
39 AM_ICONV