Summary(pl.UTF-8): Implementacja SVG Tiny
Name: libsvgtiny
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: 6e3da8ecfde7749852a66195ebea0de1
+Patch0: no-Werror.patch
URL: http://www.netsurf-browser.org/projects/libsvgtiny/
BuildRequires: gperf
BuildRequires: libdom-devel >= 0.1.0
%prep
%setup -q
+%patch0 -p1
%build
export CC="%{__cc}"
--- /dev/null
+--- libsvgtiny-0.1.1/Makefile~ 2014-04-18 13:19:22.000000000 +0200
++++ libsvgtiny-0.1.1/Makefile 2014-11-25 19:33:17.289018921 +0100
+@@ -15,12 +15,6 @@
+ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -pedantic
+-# BeOS/Haiku/AmigaOS standard library headers create warnings
+-ifneq ($(TARGET),beos)
+- ifneq ($(TARGET),amiga)
+- WARNFLAGS := $(WARNFLAGS) -Werror
+- endif
+-endif
+
+ CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \
+ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)