1 --- libdom-0.1.2/Makefile.orig 2015-03-16 12:08:30.565235136 +0100
2 +++ libdom-0.1.2/Makefile 2015-03-16 12:09:13.082919929 +0100
3 @@ -15,10 +15,7 @@ TESTRUNNER := $(PERL) $(NSTESTTOOLS)/tes
4 WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
5 -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
6 -Wmissing-declarations -Wnested-externs
7 -# BeOS/Haiku standard library headers generate warnings
8 -ifneq ($(HOST),i586-pc-haiku)
9 - WARNFLAGS := $(WARNFLAGS) -Werror
12 # AmigaOS needs this to avoid warnings
13 ifeq ($(findstring amigaos,$(HOST)),amigaos)
14 CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)