[packages/libnsbmp] - dropped outdated no-Werror patch
qboosh
qboosh at pld-linux.org
Sun Feb 28 09:18:13 CET 2016
commit 01fa29dd24fd4f7ee318b717b5f2ae8b470bfe41
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 28 09:21:33 2016 +0100
- dropped outdated no-Werror patch
libnsbmp.spec | 4 ++--
no-Werror.patch | 14 --------------
2 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/libnsbmp.spec b/libnsbmp.spec
index beca559..ea91685 100644
--- a/libnsbmp.spec
+++ b/libnsbmp.spec
@@ -11,7 +11,6 @@ License: MIT
Group: Libraries
Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
# Source0-md5: b4f2f0b13218f05bec980373ebf67065
-Patch0: no-Werror.patch
URL: http://www.netsurf-browser.org/projects/libnsbmp/
BuildRequires: netsurf-buildsystem >= 1.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -76,12 +75,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 79deb16..0000000
--- a/no-Werror.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- libnsbmp-0.1.2/Makefile.orig 2015-03-16 12:27:23.430213925 +0100
-+++ libnsbmp-0.1.2/Makefile 2015-03-16 12:28:03.146665424 +0100
-@@ -13,10 +13,7 @@ include $(NSSHARED)/makefiles/Makefile.t
- WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
- -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -Wnested-externs -pedantic
--# BeOS/Haiku standard library headers create warnings
--ifneq ($(BUILD),i586-pc-haiku)
-- WARNFLAGS := $(WARNFLAGS) -Werror
--endif
-+
- CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
- -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
- ifneq ($(GCCVER),2)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libnsbmp.git/commitdiff/01fa29dd24fd4f7ee318b717b5f2ae8b470bfe41
More information about the pld-cvs-commit
mailing list