[packages/gnome-common] - disable paranoid -Werror flag (breaks builds on x32) - rel 2
baggins
baggins at pld-linux.org
Tue Mar 24 00:21:15 CET 2015
commit da2cba45cb4b27b6bbd39427a65d605dedd2ea05
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Mar 24 00:20:46 2015 +0100
- disable paranoid -Werror flag (breaks builds on x32)
- rel 2
disable-too-pedantic-Werror.patch | 10 ++++++++++
gnome-common.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/gnome-common.spec b/gnome-common.spec
index d56c4b2..bf21f5c 100644
--- a/gnome-common.spec
+++ b/gnome-common.spec
@@ -3,13 +3,14 @@ Summary(es.UTF-8): Macros comunes útiles para construir paquetes de GNOME
Summary(pl.UTF-8): Wspólne makra przydatne do budowania pakietów GNOME
Name: gnome-common
Version: 3.14.0
-Release: 1
+Release: 2
License: GPL v2+
Group: Development/Tools
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-common/3.14/%{name}-%{version}.tar.xz
# Source0-md5: ba58c61d0d81b7c3ff8452c620513a9d
Patch0: %{name}-omf.patch
Patch1: %{name}-docdir.patch
+Patch2: disable-too-pedantic-Werror.patch
URL: http://www.gnome.org/
BuildRequires: autoconf >= 2.54
BuildRequires: automake >= 1:1.9
@@ -33,6 +34,7 @@ Ten pakiet dostarcza makra do budowania pakietów GNOME.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__aclocal}
diff --git a/disable-too-pedantic-Werror.patch b/disable-too-pedantic-Werror.patch
new file mode 100644
index 0000000..ce15d5c
--- /dev/null
+++ b/disable-too-pedantic-Werror.patch
@@ -0,0 +1,10 @@
+--- gnome-common-3.14.0/macros2/gnome-compiler-flags.m4~ 2014-09-22 13:32:01.000000000 +0200
++++ gnome-common-3.14.0/macros2/gnome-compiler-flags.m4 2015-03-24 00:20:00.725525499 +0100
+@@ -47,7 +47,6 @@
+ -Werror=pointer-arith \
+ -Werror=init-self \
+ -Werror=format-security \
+- -Werror=format=2 \
+ -Werror=missing-include-dirs \
+ "
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-common.git/commitdiff/da2cba45cb4b27b6bbd39427a65d605dedd2ea05
More information about the pld-cvs-commit
mailing list