]> git.pld-linux.org Git - packages/anjuta.git/commitdiff
- disable paranoid -Werror=format=2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2015 23:09:36 +0000 (00:09 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2015 23:09:36 +0000 (00:09 +0100)
anjuta.spec
disable-too-pedantic-Werror.patch [new file with mode: 0644]

index a26c00a77ee8ff2afb01aa4e9f4c6dde58556bb3..5598d2ac7d3ea6c032080a7486719d4db0cc351b 100644 (file)
@@ -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 (file)
index 0000000..3fb21a7
--- /dev/null
@@ -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 \
+     "
This page took 0.066137 seconds and 4 git commands to generate.