diff options
Diffstat (limited to 'net/libcmis/files/patch-configure')
-rw-r--r-- | net/libcmis/files/patch-configure | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net/libcmis/files/patch-configure b/net/libcmis/files/patch-configure new file mode 100644 index 000000000000..b9c0c1d79267 --- /dev/null +++ b/net/libcmis/files/patch-configure @@ -0,0 +1,35 @@ +--- configure.orig 2012-05-07 21:34:01.900594469 +0200 ++++ configure 2012-05-07 21:57:05.241595943 +0200 +@@ -3178,19 +3178,6 @@ + + fi + +-if test x"$enable_werror" != "xno"; then : +- +- CFLAGS="$CFLAGS -Werror" +- CXXFLAGS="$CXXFLAGS -Werror" +- +-fi +-if test x"$GCC" = xyes; then : +- +- # Be tough with warnings and produce less careless code +- CFLAGS="$CFLAGS -Wall -pedantic" +- CXXFLAGS="$CXXFLAGS -Wall -pedantic" +- +-fi + + LIBCMIS_API_VERSION=0.2 + +@@ -15971,6 +15958,12 @@ + + ac_config_files="$ac_config_files Makefile libcmis.pc src/Makefile src/libcmis/Makefile" + ++if test x"$enable_werror" != "xno"; then : ++ ++ CFLAGS="$CFLAGS -Werror" ++ CXXFLAGS="$CXXFLAGS -Werror" ++ ++fi + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure |