jer         14/11/23 10:37:44

  Added:                xaric-0.13.6-tinfo.patch
  Log:
  Fix building against sys-libs/ncurses[tinfo] (bug #529892).
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-irc/xaric/files/xaric-0.13.6-tinfo.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xaric/files/xaric-0.13.6-tinfo.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xaric/files/xaric-0.13.6-tinfo.patch?rev=1.1&content-type=text/plain

Index: xaric-0.13.6-tinfo.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -279,9 +279,10 @@
   olibs="$LIBS"
   AC_CHECK_LIB(termcap, tgetent, LIBS="-ltermcap $olibs",
     AC_CHECK_LIB(termlib, tgetent, LIBS="-ltermlib $olibs",
-      AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs",
-        AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs",
-          AC_MSG_ERROR([i can not find tgetent.  you need to help me])))))
+      AC_CHECK_LIB(tinfo, tgetent, LIBS="-ltinfo $olibs",
+        AC_CHECK_LIB(curses, tgetent, LIBS="-lcurses $olibs",
+          AC_CHECK_LIB(xtermcap, tgetent, LIBS="-lxtermcap $olibs",
+            AC_MSG_ERROR([i can not find tgetent.  you need to help me]))))))
 fi
 
 dnl ----------------------------------------------------------




Reply via email to