jlec        15/06/28 17:14:13

  Added:                pidgin-2.10.11-tinfo.patch
  Log:
  Add fix for ncurses[tinfo], bug #461482
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
E9402A79B03529A2!)

Revision  Changes    Path
1.1                  net-im/pidgin/files/pidgin-2.10.11-tinfo.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch?rev=1.1&view=markup
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

Index: pidgin-2.10.11-tinfo.patch
===================================================================
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 51471b1..16982cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -638,6 +638,8 @@ if test "x$enable_consoleui" = "xyes"; then
        AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], 
[enable_consoleui=no])
        AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"],
            [enable_consoleui=no], [$GNT_LIBS])
+       AC_CHECK_LIB(tinfow, termname, [GNT_LIBS="$GNT_LIBS -ltinfow"],
+           [enable_consoleui=no], [$GNT_LIBS])
 
        if test "x$enable_consoleui" = "xyes"; then
                dnl # Some distros put the headers in ncursesw/, some don't
@@ -690,6 +692,8 @@ if test "x$enable_consoleui" = "xyes"; then
                AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], 
[enable_consoleui=no])
                AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS 
-lpanel"],
                    [enable_consoleui=no], [$GNT_LIBS])
+               AC_CHECK_LIB(tinfo, termname, [GNT_LIBS="$GNT_LIBS -ltinfo"],
+               [enable_consoleui=no], [$GNT_LIBS])
                AC_DEFINE(NO_WIDECHAR, 1, [Define to 1 if you don't have 
wide-character support.])
                if test x"$ac_ncurses_includes" != "x"; then
                        GNT_CFLAGS="-I$ac_ncurses_includes"




Reply via email to