SOURCES: pilot-link-ac.patch (NEW), pilot-link-tcl_m4.patch (REMOV...

arekm arekm at pld-linux.org
Tue Jan 16 22:50:22 CET 2007


Author: arekm                        Date: Tue Jan 16 21:50:22 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- obsolete patches, one new, disabling Werror

---- Files affected:
SOURCES:
   pilot-link-ac.patch (NONE -> 1.1)  (NEW), pilot-link-tcl_m4.patch (1.1 -> NONE)  (REMOVED), pilot-link-setcharset.patch (1.1 -> NONE)  (REMOVED), pilot-link-link.patch (1.1 -> NONE)  (REMOVED), pilot-link-iconv-in-glibc.patch (1.1 -> NONE)  (REMOVED), pilot-link-am18.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: SOURCES/pilot-link-ac.patch
diff -u /dev/null SOURCES/pilot-link-ac.patch:1.1
--- /dev/null	Tue Jan 16 22:50:22 2007
+++ SOURCES/pilot-link-ac.patch	Tue Jan 16 22:50:17 2007
@@ -0,0 +1,30 @@
+diff -urN pilot-link-0.12.1.org/configure.ac pilot-link-0.12.1/configure.ac
+--- pilot-link-0.12.1.org/configure.ac	2006-08-29 01:36:47.000000000 +0200
++++ pilot-link-0.12.1/configure.ac	2007-01-16 22:27:22.324067500 +0100
+@@ -55,17 +55,6 @@
+ AC_SUBST(PISYNC_REVISION)
+ AC_SUBST(PISYNC_AGE)
+ 
+-dnl Eat -Werror so configure will run properly, if the user provided it
+-enable_werror=no
+-save_CFLAGS="$CFLAGS"
+-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
+-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
+-if test "x$CFLAGS" != "x$save_CFLAGS"; then
+-	dnl -Werror was set; treat it as implicit --enable-werror below
+-	enable_werror="yes"
+-fi
+-
+-
+ dnl Check host type
+ AC_CANONICAL_HOST
+ AC_CANONICAL_SYSTEM
+@@ -735,7 +724,7 @@
+ AC_ARG_ENABLE(compile-werror,
+ 	      [  --enable-compile-werror
+                           Causes warnings to be treated as errors in GCC],
+-	      enable_werror=yes)
++	      enable_werror=yes, enable_werror=no)
+ if test "x$GCC" = "xyes" -a "x$enable_werror" = "xyes"; then
+ 	CFLAGS="$CFLAGS -Werror"
+ fi
================================================================


More information about the pld-cvs-commit mailing list