1 |
jlec 15/06/28 17:14:13 |
2 |
|
3 |
Added: pidgin-2.10.11-tinfo.patch |
4 |
Log: |
5 |
Add fix for ncurses[tinfo], bug #461482 |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-im/pidgin/files/pidgin-2.10.11-tinfo.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: pidgin-2.10.11-tinfo.patch |
16 |
=================================================================== |
17 |
configure.ac | 4 ++++ |
18 |
1 file changed, 4 insertions(+) |
19 |
|
20 |
diff --git a/configure.ac b/configure.ac |
21 |
index 51471b1..16982cf 100644 |
22 |
--- a/configure.ac |
23 |
+++ b/configure.ac |
24 |
@@ -638,6 +638,8 @@ if test "x$enable_consoleui" = "xyes"; then |
25 |
AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no]) |
26 |
AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], |
27 |
[enable_consoleui=no], [$GNT_LIBS]) |
28 |
+ AC_CHECK_LIB(tinfow, termname, [GNT_LIBS="$GNT_LIBS -ltinfow"], |
29 |
+ [enable_consoleui=no], [$GNT_LIBS]) |
30 |
|
31 |
if test "x$enable_consoleui" = "xyes"; then |
32 |
dnl # Some distros put the headers in ncursesw/, some don't |
33 |
@@ -690,6 +692,8 @@ if test "x$enable_consoleui" = "xyes"; then |
34 |
AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no]) |
35 |
AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS -lpanel"], |
36 |
[enable_consoleui=no], [$GNT_LIBS]) |
37 |
+ AC_CHECK_LIB(tinfo, termname, [GNT_LIBS="$GNT_LIBS -ltinfo"], |
38 |
+ [enable_consoleui=no], [$GNT_LIBS]) |
39 |
AC_DEFINE(NO_WIDECHAR, 1, [Define to 1 if you don't have wide-character support.]) |
40 |
if test x"$ac_ncurses_includes" != "x"; then |
41 |
GNT_CFLAGS="-I$ac_ncurses_includes" |