SOURCES: util-linux-ng-ncurses.patch (NEW) - tputs is not in ncurses

arekm arekm at pld-linux.org
Fri Aug 8 08:18:08 CEST 2008


Author: arekm                        Date: Fri Aug  8 06:18:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- tputs is not in ncurses

---- Files affected:
SOURCES:
   util-linux-ng-ncurses.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/util-linux-ng-ncurses.patch
diff -u /dev/null SOURCES/util-linux-ng-ncurses.patch:1.1
--- /dev/null	Fri Aug  8 08:18:08 2008
+++ SOURCES/util-linux-ng-ncurses.patch	Fri Aug  8 08:18:02 2008
@@ -0,0 +1,18 @@
+--- configure.ac~	2008-08-08 08:12:00.525635852 +0200
++++ configure.ac	2008-08-08 08:15:14.809112734 +0200
+@@ -207,13 +207,13 @@
+   have_ncurses=no
+   AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [
+     if test "x$with_ncurses" = xauto; then
+-      UTIL_CHECK_LIB(ncursesw, tputs, ncurses)
++      UTIL_CHECK_LIB(ncursesw, initscr, ncurses)
+       if test "x$have_ncurses" = xyes; then
+         NCURSES_LIBS="-lncursesw"
+       fi
+     fi
+     if test "x$have_ncurses" = xno; then
+-      UTIL_CHECK_LIB(ncurses, tputs)
++      UTIL_CHECK_LIB(ncurses, initscr)
+       if test "x$have_ncurses" = xyes; then
+         NCURSES_LIBS="-lncurses"
+       fi
================================================================


More information about the pld-cvs-commit mailing list