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

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

index 740bf9b808cd059a965cf6e51cd8db3a0893d09a..830391c49e827afc284a5ed3e3d51c15a6a25623 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Light WWW browser with CSS support
 Summary(pl.UTF-8):     Lekka przeglądarka WWW z obsługą CSS
 Name:          netsurf
 Version:       3.1
-Release:       1
+Release:       2
 License:       GPL v2 with OpenSSL exception (code), MIT (artwork)
 Group:         Applications/Networking
 Source0:       http://download.netsurf-browser.org/netsurf/releases/source/%{name}-%{version}-src.tar.gz
@@ -16,6 +16,7 @@ Source0:      http://download.netsurf-browser.org/netsurf/releases/source/%{name}-%{v
 Source1:       %{name}.desktop
 Patch0:                nsfb-ldflags.patch
 Patch1:                %{name}-link.patch
+Patch2:                no-Werror.patch
 URL:           http://netsurf-browser.org/
 BuildRequires: curl-devel
 BuildRequires: freetype-devel >= 2
@@ -127,6 +128,7 @@ Ten pakiet zawiera wersję SDL.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 cat << EOF > Makefile.config
 NETSURF_FB_FONTLIB := freetype
diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..51fbeef
--- /dev/null
@@ -0,0 +1,11 @@
+--- netsurf-3.1/monkey/Makefile.target~        2014-04-25 13:14:16.000000000 +0200
++++ netsurf-3.1/monkey/Makefile.target 2014-11-25 19:35:10.859023670 +0100
+@@ -33,8 +33,6 @@
+ # no pkg-config for this library
+ $(eval $(call feature_enabled,WEBP,-DWITH_WEBP,-lwebp -lvpx,WebP (libwebp)))
+-WARNFLAGS += -Werror
+-
+ MONKEYCFLAGS := -std=c99 -Dmonkey -Dnsmonkey \
+               -D_BSD_SOURCE \
+               -D_XOPEN_SOURCE=600 \
This page took 0.032318 seconds and 4 git commands to generate.