SOURCES: ocaml-as_needed.patch (NEW) - This patch fixes detecting ...
sls
sls at pld-linux.org
Thu Nov 23 06:13:50 CET 2006
Author: sls Date: Thu Nov 23 05:13:50 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- This patch fixes detecting library providing termcap functions,
so packages using ocaml have no problem with as-needed flag
---- Files affected:
SOURCES:
ocaml-as_needed.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ocaml-as_needed.patch
diff -u /dev/null SOURCES/ocaml-as_needed.patch:1.1
--- /dev/null Thu Nov 23 06:13:50 2006
+++ SOURCES/ocaml-as_needed.patch Thu Nov 23 06:13:45 2006
@@ -0,0 +1,11 @@
+--- ocaml-3.09.2/configure.orig 2006-11-23 03:30:41.000000000 +0000
++++ ocaml-3.09.2/configure 2006-11-23 03:31:14.000000000 +0000
+@@ -751,7 +751,7 @@
+ # For the terminfo module
+
+ if test "$withcurses" = "yes"; then
+- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
++ for libs in "" "-ltinfo" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
+ if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
+ echo "termcap functions found (with libraries '$libs')"
+ echo "#define HAS_TERMCAP" >> s.h
================================================================
More information about the pld-cvs-commit
mailing list