]> git.pld-linux.org Git - packages/libdom.git/blobdiff - no-Werror.patch
- updated to 0.1.2
[packages/libdom.git] / no-Werror.patch
index fca5e8019ef4e678694936d94ad3927715e5124b..050b154fcfdc6587418b6584d57cfd6acf65fc1e 100644 (file)
@@ -1,13 +1,14 @@
---- 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 @@
+--- libdom-0.1.2/Makefile.orig 2015-03-16 12:08:30.565235136 +0100
++++ libdom-0.1.2/Makefile      2015-03-16 12:09:13.082919929 +0100
+@@ -15,10 +15,7 @@ TESTRUNNER := $(PERL) $(NSTESTTOOLS)/tes
  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)
+-ifneq ($(HOST),i586-pc-haiku)
 -  WARNFLAGS := $(WARNFLAGS) -Werror
 -endif
++
  # AmigaOS needs this to avoid warnings
- ifeq ($(TARGET),amiga)
+ ifeq ($(findstring amigaos,$(HOST)),amigaos)
    CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
This page took 0.058296 seconds and 4 git commands to generate.