SOURCES: gnustep-base-ac.patch (NEW) - fix configure, kill braindamaged seds.

pluto pluto at pld-linux.org
Wed Oct 8 21:09:47 CEST 2008


Author: pluto                        Date: Wed Oct  8 19:09:47 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix configure, kill braindamaged seds.

---- Files affected:
SOURCES:
   gnustep-base-ac.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gnustep-base-ac.patch
diff -u /dev/null SOURCES/gnustep-base-ac.patch:1.1
--- /dev/null	Wed Oct  8 21:09:47 2008
+++ SOURCES/gnustep-base-ac.patch	Wed Oct  8 21:09:41 2008
@@ -0,0 +1,58 @@
+--- gnustep-base-1.15.3/config/pathtls.m4.orig	2008-01-05 14:09:39.000000000 +0000
++++ gnustep-base-1.15.3/config/pathtls.m4	2008-10-08 19:03:13.000000000 +0000
+@@ -43,7 +43,7 @@
+ int
+ main()
+ {
+-  system("touch conf.tlstest");
++  if (system("touch conf.tlstest")) return 1;
+ 
+   if (gnutls_check_version("$min_tls_version") == 0)
+     {
+@@ -71,8 +71,6 @@
+       sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+     tls_config_micro_version=`$TLS_CONFIG $tls_config_args --version | \
+       sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+-    # Strip '-L/usr/lib' off since this is always in the link path.
+-    TLS_LIBS=`echo $TLS_LIBS | sed -e 's|-L/usr/lib||'`
+ 
+     if test "x$enable_tlstest" = "xyes" ; then
+       ac_save_CFLAGS="$CFLAGS"
+@@ -91,7 +89,7 @@
+ int
+ main()
+ {
+-  system("touch conf.tlstest");
++  if (system("touch conf.tlstest")) return 1;
+ 
+   if (gnutls_check_version("$min_tls_version") == 0)
+     {
+--- gnustep-base-1.15.3/config/pathxml.m4.orig	2006-02-11 18:22:57.000000000 +0000
++++ gnustep-base-1.15.3/config/pathxml.m4	2008-10-08 19:03:43.000000000 +0000
+@@ -56,7 +56,7 @@
+   int major, minor, micro;
+   char *tmp_version;
+ 
+-  system("touch conf.xmltest");
++  if (system("touch conf.xmltest")) return 1;
+ 
+   tmp_version = xmlStrdup("$min_xml_version");
+   if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+@@ -108,8 +108,6 @@
+       sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+     xml_config_micro_version=`$XML_CONFIG $xml_config_args --version | \
+       sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+-    # Strip '-L/usr/lib' off since this is always in the link path.
+-    XML_LIBS=`echo $XML_LIBS | sed -e 's|-L/usr/lib||'`
+ 
+     if test "x$enable_xmltest" = "xyes" ; then
+       ac_save_CFLAGS="$CFLAGS"
+@@ -133,7 +131,7 @@
+   int major, minor, micro;
+   char *tmp_version;
+ 
+-  system("touch conf.xmltest");
++  if (system("touch conf.xmltest")) return 1;
+ 
+   tmp_version = xmlStrdup("$min_xml_version");
+   if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
================================================================


More information about the pld-cvs-commit mailing list