- removed outdated no-Werror patch auto/th/libdom-0.3.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2016 08:18:58 +0000 (09:18 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Feb 2016 08:18:58 +0000 (09:18 +0100)
libdom.spec
no-Werror.patch [deleted file]

index 816b017..8759406 100644 (file)
@@ -11,7 +11,6 @@ License:      MIT
 Group:         Libraries
 Source0:       http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
 # Source0-md5: 269bd1ceb4debfc1c3e3732a26ded992
-Patch0:                no-Werror.patch
 URL:           http://www.netsurf-browser.org/projects/libdom/
 BuildRequires: expat-devel >= 1.95
 BuildRequires: libhubbub-devel >= 0.3.3
@@ -86,12 +85,13 @@ export LDFLAGS="%{rpmldflags}"
 %endif
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
 export AR="%{__ar}"
 export CC="%{__cc}"
 export CFLAGS="%{rpmcflags}"
 export LDFLAGS="%{rpmldflags}"
 
-rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        Q= \
        PREFIX=%{_prefix} \
diff --git a/no-Werror.patch b/no-Werror.patch
deleted file mode 100644 (file)
index 050b154..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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 ($(HOST),i586-pc-haiku)
--  WARNFLAGS := $(WARNFLAGS) -Werror
--endif
-+
- # AmigaOS needs this to avoid warnings
- ifeq ($(findstring amigaos,$(HOST)),amigaos)
-   CFLAGS := -U__STRICT_ANSI__ $(CFLAGS)
This page took 0.26599 seconds and 4 git commands to generate.