[csw-devel] SF.net SVN: gar:[4787] csw/mgar/pkg/socat/trunk
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Sun May 10 12:09:56 CEST 2009
Revision: 4787
http://gar.svn.sourceforge.net/gar/?rev=4787&view=rev
Author: skayser
Date: 2009-05-10 10:09:55 +0000 (Sun, 10 May 2009)
Log Message:
-----------
socat: removed gcc flags from configure.in to enable AC_TRY_COMPILEs
Modified Paths:
--------------
csw/mgar/pkg/socat/trunk/checksums
csw/mgar/pkg/socat/trunk/files/cc_compile.patch
Modified: csw/mgar/pkg/socat/trunk/checksums
===================================================================
--- csw/mgar/pkg/socat/trunk/checksums 2009-05-09 15:30:18 UTC (rev 4786)
+++ csw/mgar/pkg/socat/trunk/checksums 2009-05-10 10:09:55 UTC (rev 4787)
@@ -1,3 +1,2 @@
-82967132b5a8ca4d07e54370fdcb2662 download/socat-1.7.0.0.tar.gz
-06fac9e8c6e979e163630163238296d8 download/cc_compile.patch
-0f34e654b9a652278fa2fd1b36d51469 download/patch-test.diff
+a3a68cabdfd9145aa6570fc4777be45c download/cc_compile.patch
+52b0216607e35bdfba247560fb85dd82 download/socat-1.7.1.1.tar.gz
Modified: csw/mgar/pkg/socat/trunk/files/cc_compile.patch
===================================================================
--- csw/mgar/pkg/socat/trunk/files/cc_compile.patch 2009-05-09 15:30:18 UTC (rev 4786)
+++ csw/mgar/pkg/socat/trunk/files/cc_compile.patch 2009-05-10 10:09:55 UTC (rev 4787)
@@ -22,3 +22,32 @@
fi
export CFLAGS
+--- socat-1.7.1.1.orig/configure.in 2009-05-10 11:44:36.045547843 +0200
++++ socat-1.7.1.1/configure.in 2009-05-10 11:38:07.477274940 +0200
+@@ -84,7 +84,7 @@
+ dnl Check for hstrerror prototype
+ AC_MSG_CHECKING(for hstrerror prototype)
+ AC_CACHE_VAL(sc_cv_have_prototype_hstrerror,
+-[CFLAGS1="$CFLAGS"; CFLAGS="-Werror -O0 $CFLAGS1";
++[CFLAGS1="$CFLAGS"; CFLAGS="-errwarn $CFLAGS1";
+ AC_TRY_COMPILE([#include <netdb.h>],[hstrerror();],
+ [sc_cv_have_prototype_hstrerror=no],
+ [sc_cv_have_prototype_hstrerror=yes]);
+@@ -1296,7 +1296,7 @@
+ dnl 5..long, 6..u-long; others not yet supported
+ define(AC_BASIC_TYPE,[
+ AC_CACHE_CHECK(for equivalent simple type of $2, $4,
+-[CFLAGS1="$CFLAGS"; CFLAGS="-Werror -O0 $CFLAGS1"
++[CFLAGS1="$CFLAGS"; CFLAGS="-errwarn $CFLAGS1"
+ AC_TRY_COMPILE([$1],[$2 u; short v; &u==&v;],
+ [$4="1 /* short */"],
+ [AC_TRY_COMPILE([$1],[$2 u; unsigned short v; &u==&v;],
+@@ -1328,7 +1328,7 @@
+ dnl arg5: cache variable (might be constructed automatically)
+ define(AC_TYPEOF_COMPONENT,[
+ AC_CACHE_CHECK(for basic type of $2.$3, $5,
+-[CFLAGS1="$CFLAGS"; CFLAGS="-Werror -O0 $CFLAGS1"
++[CFLAGS1="$CFLAGS"; CFLAGS="-errwarn $CFLAGS1"
+ AC_TRY_COMPILE([$1],[$2 u;short v; &u.$3==&v;],
+ [$5="1 /* short */"],
+ [AC_TRY_COMPILE([$1],[$2 u; unsigned short v; &u.$3==&v;],
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list