]> git.pld-linux.org Git - packages/libdom.git/blobdiff - no-Werror.patch
- drop Werror (fails to build on current glibc)
[packages/libdom.git] / no-Werror.patch
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..fca5e80
--- /dev/null
@@ -0,0 +1,13 @@
+--- libdom-0.1.0/Makefile~     2014-04-18 11:54:12.000000000 +0200
++++ libdom-0.1.0/Makefile      2014-11-25 19:27:52.875672019 +0100
+@@ -15,10 +15,6 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+       -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+       -Wmissing-declarations -Wnested-externs
+-# BeOS/Haiku standard library headers generate warnings
+-ifneq ($(TARGET),beos)
+-  WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+ # AmigaOS needs this to avoid warnings
+ ifeq ($(TARGET),amiga)
+   CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
This page took 0.056616 seconds and 4 git commands to generate.