Gentoo Archives: gentoo-commits

From: "Eray Aslan (eras)" <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/hap/files: hap-3.7-ncurses.patch
Date: Wed, 06 Mar 2013 13:20:25
Message-Id: 20130306132021.500412171D@flycatcher.gentoo.org
1 eras 13/03/06 13:20:21
2
3 Added: hap-3.7-ncurses.patch
4 Log:
5 Fix building with ncurses[tinfo] - bug #460506
6
7 (Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
8
9 Revision Changes Path
10 1.1 mail-client/hap/files/hap-3.7-ncurses.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/hap/files/hap-3.7-ncurses.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/hap/files/hap-3.7-ncurses.patch?rev=1.1&content-type=text/plain
14
15 Index: hap-3.7-ncurses.patch
16 ===================================================================
17 --- configure.in 1996-07-17 00:50:03.000000000 +0300
18 +++ configure.in 2013-03-06 15:09:29.579148360 +0200
19 @@ -6,8 +6,9 @@
20 AC_PROG_INSTALL
21
22 dnl Checks for libraries.
23 -dnl Replace `main' with a function in -ltermcap:
24 -AC_CHECK_LIB(termcap, tputs)
25 +dnl Replace `main' with a function in -lncurses or -ltinfo
26 +AC_CHECK_LIB(ncurses, tputs,,
27 + [AC_CHECK_LIB(tinfo, tputs)])
28
29 dnl Checks for header files.
30 AC_CHECK_HEADERS(sgtty.h unistd.h libc.h termcap.h strings.h string.h dirent.h sys/ioctl.h)