diff options
author | kris <kris@FreeBSD.org> | 2002-10-20 09:35:59 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-20 09:35:59 +0000 |
commit | 9fc9bcc2471536483885ba7028ba8b90b1199de7 (patch) | |
tree | d90bd8f43c604c7c541914d177b2530d088de3aa | |
parent | 820503360dd40105b198d26e2b696346c5d475b8 (diff) | |
download | FreeBSD-ports-9fc9bcc2471536483885ba7028ba8b90b1199de7.zip FreeBSD-ports-9fc9bcc2471536483885ba7028ba8b90b1199de7.tar.gz |
Don't treat warnings as errors: gcc 3.2 finds a lot more wrong with
this code. It is still broken on 5.0.
-rw-r--r-- | devel/swarm/files/patch-ac | 31 | ||||
-rw-r--r-- | devel/swarm/files/patch-ae | 11 |
2 files changed, 40 insertions, 2 deletions
diff --git a/devel/swarm/files/patch-ac b/devel/swarm/files/patch-ac index 3032d6a..75ad8b6 100644 --- a/devel/swarm/files/patch-ac +++ b/devel/swarm/files/patch-ac @@ -1,5 +1,14 @@ ---- configure.orig Sat May 18 16:08:11 2002 -+++ configure Sun May 19 06:09:30 2002 +--- configure.orig Sat Mar 25 13:00:14 2000 ++++ configure Sun Oct 20 02:30:01 2002 +@@ -1306,7 +1306,7 @@ + test -n "$OBJC" || OBJC="$CC" + + test -n "$OBJCFLAGS" || OBJCFLAGS="$CFLAGS" +-OBJCFLAGS="$OBJCFLAGS -Wall -Wno-import -Wno-protocol -Werror" ++OBJCFLAGS="$OBJCFLAGS -Wall -Wno-import -Wno-protocol" + + + # Check whether --enable-shared or --disable-shared was given. @@ -1691,8 +1691,8 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ @@ -20,6 +29,24 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -4108,7 +4108,7 @@ + echo $ac_n "checking how to avoid implicit int return warning""... $ac_c" 1>&6 + echo "configure:4110: checking how to avoid implicit int return warning" >&5 + CFLAGS_NOWARN_IMPLICIT_INT=-Wno-implicit-int +-CFLAGS="-Wall -Werror $CFLAGS_NOWARN_IMPLICIT_INT $CFLAGS" ++CFLAGS="-Wall $CFLAGS_NOWARN_IMPLICIT_INT $CFLAGS" + cat > conftest.$ac_ext <<EOF + #line 4114 "configure" + #include "confdefs.h" +@@ -4133,7 +4133,7 @@ + echo $ac_n "checking how to avoid unknown pragma warning""... $ac_c" 1>&6 + echo "configure:4135: checking how to avoid unknown pragma warning" >&5 + CFLAGS_NOWARN_UNKNOWN_PRAGMAS=-Wno-unknown-pragmas +-CFLAGS="-Wall -Werror $CFLAGS_NOWARN_UNKNOWN_PRAGMAS" ++CFLAGS="-Wall $CFLAGS_NOWARN_UNKNOWN_PRAGMAS" + cat > conftest.$ac_ext <<EOF + #line 4139 "configure" + #include "confdefs.h" @@ -5049,6 +5049,7 @@ JAVAINCLUDES="$JAVAINCLUDES -I$jdkincludedir/freebsd" threads=green diff --git a/devel/swarm/files/patch-ae b/devel/swarm/files/patch-ae new file mode 100644 index 0000000..4048658 --- /dev/null +++ b/devel/swarm/files/patch-ae @@ -0,0 +1,11 @@ +--- libobjc/configure.orig Sat Mar 25 13:00:17 2000 ++++ libobjc/configure Sun Oct 20 02:30:33 2002 +@@ -1670,7 +1670,7 @@ + test -n "$OBJC" || OBJC="$CC" + + test -n "$OBJCFLAGS" || OBJCFLAGS="$CFLAGS" +-OBJCFLAGS="-Wall -Werror $OBJCFLAGS" ++OBJCFLAGS="-Wall $OBJCFLAGS" + + + # Pass with no value to take the default |