SOURCES: pinfo-ncurses.patch (NEW) - pinfo-ncurses.patch: fixed li...
qrczak
qrczak at pld-linux.org
Wed Feb 28 00:23:22 CET 2007
Author: qrczak Date: Tue Feb 27 23:23:22 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- pinfo-ncurses.patch: fixed linking ncurses with --as-needed
- Release 2
---- Files affected:
SOURCES:
pinfo-ncurses.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/pinfo-ncurses.patch
diff -u /dev/null SOURCES/pinfo-ncurses.patch:1.1
--- /dev/null Wed Feb 28 00:23:22 2007
+++ SOURCES/pinfo-ncurses.patch Wed Feb 28 00:23:17 2007
@@ -0,0 +1,35 @@
+--- pinfo-0.6.9/macros/curses.m4~ 2006-03-09 20:44:38.000000000 +0100
++++ pinfo-0.6.9/macros/curses.m4 2007-02-28 00:11:39.000000000 +0100
+@@ -161,7 +161,7 @@
+ then
+ AC_MSG_RESULT([$1/$2])
+ curses_h="$2"
+- curses_libs="$3"
++ curses_libs="$3 -ltinfo"
+ curses_includes="$4"
+ stop_searching=true
+ found_curses_h=true
+@@ -254,11 +254,11 @@
+ dnl
+ AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
+
+- dnl save CFLAGS and LDFLAGS and set new ones
++ dnl save CFLAGS and LIBS and set new ones
+ CFLAGS_OLD=$CFLAGS
+ CFLAGS="$CFLAGS $curses_includes"
+- LDFLAGS_OLD=$LDFLAGS
+- LDFLAGS="$LDFLAGS $curses_libs"
++ LIBS_OLD=$LIBS
++ LIBS="$LIBS $curses_libs"
+
+ dnl do the compile test
+ AC_MSG_CHECKING([if curses is usable])
+@@ -288,7 +288,7 @@
+
+ dnl restore variables
+ CFLAGS=$CFLAGS_OLD
+- LDFLAGS=$LDFLAGS_OLD
++ LIBS=$LIBS_OLD
+
+ ])
+
================================================================
More information about the pld-cvs-commit
mailing list