SOURCES: screen-nolibtermcap.patch - prefer libtinfo (fixes build ...

qboosh qboosh at pld-linux.org
Thu Oct 26 21:54:21 CEST 2006


Author: qboosh                       Date: Thu Oct 26 19:54:21 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- prefer libtinfo (fixes build with --as-needed)

---- Files affected:
SOURCES:
   screen-nolibtermcap.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/screen-nolibtermcap.patch
diff -u SOURCES/screen-nolibtermcap.patch:1.1 SOURCES/screen-nolibtermcap.patch:1.2
--- SOURCES/screen-nolibtermcap.patch:1.1	Mon Jun 11 22:35:52 2001
+++ SOURCES/screen-nolibtermcap.patch	Thu Oct 26 21:54:15 2006
@@ -1,9 +1,12 @@
 --- screen-3.9.9/configure.in.orig	Mon Jun 11 20:11:26 2001
 +++ screen-3.9.9/configure.in	Mon Jun 11 20:25:12 2001
-@@ -619,14 +619,14 @@
+@@ -619,14 +619,17 @@
  tgetent((char *)0, (char *)0);
  #endif
  ],,
++LIBS="-ltinfo $olibs"
++AC_CHECKING(libtinfo)
++AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
 +LIBS="-lncurses $olibs"
 +AC_CHECKING(libncurses)
 +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
@@ -16,5 +19,6 @@
 -LIBS="-lncurses $olibs"
 -AC_CHECKING(libncurses)
  AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
- AC_MSG_ERROR(!!! no tgetent - no screen))))))
+-AC_MSG_ERROR(!!! no tgetent - no screen))))))
++AC_MSG_ERROR(!!! no tgetent - no screen)))))))
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/screen-nolibtermcap.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list