[Libreoffice-commits] .: graphite/graphite-updatewerror.patch graphite/makefile.mk

Caolán McNamara caolan at kemper.freedesktop.org
Sat Jan 15 12:15:01 PST 2011


 graphite/graphite-updatewerror.patch |   11 +++++++++++
 graphite/makefile.mk                 |    6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit 5268a234f7e7a0d0c7ceea56599cedb89d22ea03
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jan 15 20:14:53 2011 +0000

    sync configure's -Werror logic with configure.ac

diff --git a/graphite/graphite-updatewerror.patch b/graphite/graphite-updatewerror.patch
new file mode 100644
index 0000000..6d812b6
--- /dev/null
+++ b/graphite/graphite-updatewerror.patch
@@ -0,0 +1,11 @@
+--- misc/silgraphite-2.3.1.orig/engine/configure
++++ misc/build/silgraphite-2.3.1/engine/configure
+@@ -16877,7 +16877,7 @@
+ # (note: the flags here are gcc-specific and may fail with other compilers)
+ build_flags=""
+ if test "$enable_debug" = yes; then
+-  build_flags="$build_flags -O0 -g -Wall -Wno-unknown-pragmas -Wparentheses -Werror"
++  build_flags="$build_flags -O0 -g -Wall -Wno-unknown-pragmas -Wparentheses"
+ elif test "$enable_strict" = yes; then
+   build_flags="$build_flags -DNDEBUG -Wall -Wno-unknown-pragmas -Wparentheses -Werror"
+ else
diff --git a/graphite/makefile.mk b/graphite/makefile.mk
index 1134a29..181d70b 100644
--- a/graphite/makefile.mk
+++ b/graphite/makefile.mk
@@ -47,9 +47,13 @@ all:
 .IF "$(ENABLE_GRAPHITE)"=="TRUE"
 TARFILE_NAME=silgraphite-2.3.1
 TARFILE_MD5=d35724900f6a4105550293686688bbb3
+#graphite-updatewerror.patch -Werror passed to CFLAGS configure for
+#--enable-debug, but not in configure.ac, so update configure to
+#match
 PATCH_FILES=\
     graphite-2.3.1.patch \
-    graphite-removeobsolete.patch
+    graphite-removeobsolete.patch \
+    graphite-updatewerror.patch
 
 # convert line-endings to avoid problems when patching
 CONVERTFILES=\


More information about the Libreoffice-commits mailing list