SOURCES: ghc-tinfo.patch (NEW) - new

arekm arekm at pld-linux.org
Sat Jan 20 22:41:08 CET 2007


Author: arekm                        Date: Sat Jan 20 21:41:08 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   ghc-tinfo.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ghc-tinfo.patch
diff -u /dev/null SOURCES/ghc-tinfo.patch:1.1
--- /dev/null	Sat Jan 20 22:41:08 2007
+++ SOURCES/ghc-tinfo.patch	Sat Jan 20 22:41:03 2007
@@ -0,0 +1,16 @@
+--- ghc-6.6/libraries/readline/configure.ac.org	2007-01-20 22:38:47.918113250 +0100
++++ ghc-6.6/libraries/readline/configure.ac	2007-01-20 22:39:18.404018500 +0100
+@@ -31,10 +31,11 @@
+ dnl ** check for readline, for Hugs and hslibs' Readline
+ dnl ncurses supersedes termcap and curses, but for compatibility,
+ dnl we have to check for all...
+-AC_CHECK_LIB(ncurses, tputs, HaveLibTermcap=YES; LibTermcap=ncurses,
++AC_CHECK_LIB(tinfo, tputs, HaveLibTermcap=YES; LibTermcap=tinfo,
++ AC_CHECK_LIB(ncurses, tputs, HaveLibTermcap=YES; LibTermcap=ncurses,
+   AC_CHECK_LIB(termcap, tputs, HaveLibTermcap=YES; LibTermcap=termcap,
+     AC_CHECK_LIB(curses, tputs, HaveLibTermcap=YES; LibTermcap=curses,
+-      HaveLibTermcap=NO; LibTermcap=not-installed)))
++      HaveLibTermcap=NO; LibTermcap=not-installed))))
+ 
+ if test $HaveLibTermcap = YES ; then
+   LIBS="-l$LibTermcap $LIBS"
================================================================


More information about the pld-cvs-commit mailing list