[packages/libdom] - removed outdated no-Werror patch
qboosh
qboosh at pld-linux.org
Sun Feb 28 09:15:35 CET 2016
commit c8590f8b1c4453c62bf8f59026887f204c766dec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 28 09:18:58 2016 +0100
- removed outdated no-Werror patch
libdom.spec | 4 ++--
no-Werror.patch | 14 --------------
2 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/libdom.spec b/libdom.spec
index 816b017..8759406 100644
--- a/libdom.spec
+++ b/libdom.spec
@@ -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
index 050b154..0000000
--- a/no-Werror.patch
+++ /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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdom.git/commitdiff/c8590f8b1c4453c62bf8f59026887f204c766dec
More information about the pld-cvs-commit
mailing list