---- 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)