]> git.pld-linux.org Git - packages/libsvgtiny.git/blobdiff - no-Werror.patch
- drop Werror (fails to build on current glibc)
[packages/libsvgtiny.git] / no-Werror.patch
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..e0f99cb
--- /dev/null
@@ -0,0 +1,15 @@
+--- libsvgtiny-0.1.1/Makefile~ 2014-04-18 13:19:22.000000000 +0200
++++ libsvgtiny-0.1.1/Makefile  2014-11-25 19:33:17.289018921 +0100
+@@ -15,12 +15,6 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+       -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+       -Wmissing-declarations -Wnested-externs -pedantic
+-# BeOS/Haiku/AmigaOS standard library headers create warnings
+-ifneq ($(TARGET),beos)
+-  ifneq ($(TARGET),amiga)
+-    WARNFLAGS := $(WARNFLAGS) -Werror
+-  endif
+-endif
+ CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+       -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
This page took 0.117327 seconds and 4 git commands to generate.