Summary(pl.UTF-8): Biblioteka dekodująca pliki w formacie GIF
Name: libnsgif
Version: 0.1.1
-Release: 1
+Release: 2
License: MIT
Group: Libraries
Source0: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
# Source0-md5: 5414dfc1db924b99223bbf6f7427377a
+Patch0: no-Werror.patch
URL: http://www.netsurf-browser.org/projects/libnsgif/
BuildRequires: netsurf-buildsystem >= 1.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch0 -p1
%build
export CC="%{__cc}"
--- /dev/null
+--- libnsgif-0.1.1/Makefile~ 2014-04-18 12:40:14.000000000 +0200
++++ libnsgif-0.1.1/Makefile 2014-11-25 19:31:16.082347185 +0100
+@@ -13,10 +13,6 @@
+ 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 ($(TARGET),beos)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+-endif
+ CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+ ifneq ($(GCCVER),2)