]> git.pld-linux.org Git - packages/libsvgtiny.git/commitdiff
- drop Werror (fails to build on current glibc) auto/th/libsvgtiny-0.1.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 25 Nov 2014 18:33:51 +0000 (19:33 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 25 Nov 2014 18:33:51 +0000 (19:33 +0100)
- rel 2

libsvgtiny.spec
no-Werror.patch [new file with mode: 0644]

index c6304cb1ba6df6362a48cc133279c4343a1d9d88..98a87e6a6b8bcf70873923d01ab93ee86ea571b1 100644 (file)
@@ -6,11 +6,12 @@ Summary:      Implementation of SVG Tiny
 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
@@ -68,6 +69,7 @@ Statyczna biblioteka libsvgtiny.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export CC="%{__cc}"
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..e0f99cb
--- /dev/null
@@ -0,0 +1,15 @@
+--- 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)
This page took 0.154406 seconds and 4 git commands to generate.