packages: gmp/gmp-tinfo.patch (NEW) - in PLD tputs() is in libtinfo

qboosh qboosh at pld-linux.org
Sat Oct 3 09:19:01 CEST 2009


Author: qboosh                       Date: Sat Oct  3 07:19:01 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- in PLD tputs() is in libtinfo

---- Files affected:
packages/gmp:
   gmp-tinfo.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gmp/gmp-tinfo.patch
diff -u /dev/null packages/gmp/gmp-tinfo.patch:1.1
--- /dev/null	Sat Oct  3 09:19:01 2009
+++ packages/gmp/gmp-tinfo.patch	Sat Oct  3 09:18:56 2009
@@ -0,0 +1,13 @@
+--- gmp-4.3.1/configure.in.orig	2009-10-03 08:32:51.312616803 +0200
++++ gmp-4.3.1/configure.in	2009-10-03 08:33:58.340616803 +0200
+@@ -3216,8 +3216,10 @@
+ AC_CONFIG_FILES(demos/calc/calc-config.h:demos/calc/calc-config-h.in)
+ LIBCURSES=
+ if test $with_readline != no; then
++ AC_CHECK_LIB(tinfo, tputs, [LIBCURSES=-ltinfo],[
+   AC_CHECK_LIB(ncurses, tputs, [LIBCURSES=-lncurses],
+     [AC_CHECK_LIB(curses, tputs, [LIBCURSES=-lcurses])])
++ ])
+ fi
+ AC_SUBST(LIBCURSES)
+ use_readline=$with_readline
================================================================


More information about the pld-cvs-commit mailing list