SOURCES: inetutils-tinfo.patch (NEW) - support tinfo as termcap li...
qboosh
qboosh at pld-linux.org
Sun Nov 19 22:13:28 CET 2006
Author: qboosh Date: Sun Nov 19 21:13:28 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support tinfo as termcap lib (reduces linking, fixes build with --as-needed)
---- Files affected:
SOURCES:
inetutils-tinfo.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/inetutils-tinfo.patch
diff -u /dev/null SOURCES/inetutils-tinfo.patch:1.1
--- /dev/null Sun Nov 19 22:13:28 2006
+++ SOURCES/inetutils-tinfo.patch Sun Nov 19 22:13:23 2006
@@ -0,0 +1,18 @@
+--- inetutils-1.5/acinclude.m4.orig 2006-10-11 23:46:22.000000000 +0200
++++ inetutils-1.5/acinclude.m4 2006-11-19 21:38:12.412917500 +0100
+@@ -197,6 +197,7 @@
+ dnl
+ AC_DEFUN([IU_LIB_TERMCAP], [
+ AC_REQUIRE([IU_LIB_NCURSES])
++ AC_CHECK_LIB(tinfo, tgetent, [LIBTERMCAP=-ltinfo], [
+ if test "$LIBNCURSES"; then
+ LIBTERMCAP="$LIBNCURSES"
+ else
+@@ -208,6 +209,7 @@
+ AC_CHECK_LIB(termlib, tgetent, LIBTERMCAP=-ltermlib)
+ fi
+ fi
++ ])
+ AC_SUBST(LIBTERMCAP)])dnl
+
+ dnl IU_LIB_CURSES -- checke for curses, and associated libraries
================================================================
More information about the pld-cvs-commit
mailing list