[packages/libnsgif] - unified install, dropped outdated patch

qboosh qboosh at pld-linux.org
Sun Feb 28 09:42:27 CET 2016


commit 242f8311fd6366de7593fbce780809601b060eb2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 28 09:45:52 2016 +0100

    - unified install, dropped outdated patch

 libnsgif.spec   |  3 ++-
 no-Werror.patch | 14 --------------
 2 files changed, 2 insertions(+), 15 deletions(-)
---
diff --git a/libnsgif.spec b/libnsgif.spec
index 8c1df82..06013e9 100644
--- a/libnsgif.spec
+++ b/libnsgif.spec
@@ -73,12 +73,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 \
 	PREFIX=%{_prefix} \
 	LIBDIR=%{_lib} \
diff --git a/no-Werror.patch b/no-Werror.patch
deleted file mode 100644
index aa08b75..0000000
--- a/no-Werror.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- libnsgif-0.1.2/Makefile.orig	2015-03-16 12:32:37.351846552 +0100
-+++ libnsgif-0.1.2/Makefile	2015-03-16 12:33:06.331689551 +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/libnsgif.git/commitdiff/242f8311fd6366de7593fbce780809601b060eb2



More information about the pld-cvs-commit mailing list