[packages/anjuta] - disable paranoid -Werror=format=2

baggins baggins at pld-linux.org
Tue Mar 24 00:10:05 CET 2015


commit 2ce400df2e3b877832d656bb0361e02fbefd9fa8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 24 00:09:36 2015 +0100

    - disable paranoid -Werror=format=2

 anjuta.spec                       |  2 ++
 disable-too-pedantic-Werror.patch | 10 ++++++++++
 2 files changed, 12 insertions(+)
---
diff --git a/anjuta.spec b/anjuta.spec
index a26c00a..5598d2a 100644
--- a/anjuta.spec
+++ b/anjuta.spec
@@ -11,6 +11,7 @@ Group:		X11/Development/Tools
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/anjuta/3.14/%{name}-%{version}.tar.xz
 # Source0-md5:	f5deffdfb0d1a436bacbbdeb942b187c
 Patch0:		%{name}-desktop.patch
+Patch1:		disable-too-pedantic-Werror.patch
 URL:		http://projects.gnome.org/anjuta/
 BuildRequires:	autoconf >= 2.65
 BuildRequires:	autogen
@@ -143,6 +144,7 @@ Dokumentacja API biblioteki libanjuta.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__intltoolize}
diff --git a/disable-too-pedantic-Werror.patch b/disable-too-pedantic-Werror.patch
new file mode 100644
index 0000000..3fb21a7
--- /dev/null
+++ b/disable-too-pedantic-Werror.patch
@@ -0,0 +1,10 @@
+--- anjuta-3.14.1/aclocal.m4~	2015-01-24 08:23:43.000000000 +0100
++++ anjuta-3.14.1/aclocal.m4	2015-03-24 00:08:32.145549790 +0100
+@@ -120,7 +120,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/anjuta.git/commitdiff/2ce400df2e3b877832d656bb0361e02fbefd9fa8



More information about the pld-cvs-commit mailing list