[packages/gtk+2] - updated to 2.24.23 - added format patch (fixes build with -Werror=format-security)

qboosh qboosh at pld-linux.org
Sat Mar 22 12:46:41 CET 2014


commit 3a10ef13b0da8c97e103c235eb80a6fd0c2bd15e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 22 12:49:49 2014 +0100

    - updated to 2.24.23
    - added format patch (fixes build with -Werror=format-security)

 gtk+2-format.patch | 11 +++++++++++
 gtk+2.spec         |  6 ++++--
 2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/gtk+2.spec b/gtk+2.spec
index 5aad023..46e48e2 100644
--- a/gtk+2.spec
+++ b/gtk+2.spec
@@ -14,16 +14,17 @@ Summary(it.UTF-8):	Il toolkit per GIMP
 Summary(pl.UTF-8):	GIMP Toolkit
 Summary(tr.UTF-8):	GIMP ToolKit arayüz kitaplığı
 Name:		gtk+2
-Version:	2.24.22
+Version:	2.24.23
 Release:	1
 Epoch:		2
 License:	LGPL v2+
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/gtk+-%{version}.tar.xz
-# Source0-md5:	5fbbfb7637bbd571a572a2dae0e736d2
+# Source0-md5:	0be39fbed4ca125645175cd6e22f2548
 Patch0:		%{name}-arch_confdir.patch
 Patch1:		gobject-introspection.patch
 Patch2:		%{name}-papi.patch
+Patch3:		%{name}-format.patch
 URL:		http://www.gtk.org/
 BuildRequires:	atk-devel >= 1:1.30.0-3
 BuildRequires:	autoconf >= 2.62
@@ -249,6 +250,7 @@ Moduł GTK+ do drukowania przez PAPI.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gtk/gtk-builder-convert
 
diff --git a/gtk+2-format.patch b/gtk+2-format.patch
new file mode 100644
index 0000000..15106f7
--- /dev/null
+++ b/gtk+2-format.patch
@@ -0,0 +1,11 @@
+--- gtk+-2.24.23/modules/engines/pixbuf/pixbuf-rc-style.c.orig	2014-03-06 05:56:42.000000000 +0100
++++ gtk+-2.24.23/modules/engines/pixbuf/pixbuf-rc-style.c	2014-03-22 09:12:02.069004277 +0100
+@@ -669,7 +669,7 @@
+                              const char   *message)
+ {
+   theme_clear_pixbuf (theme_pb);
+-  g_scanner_warn (scanner, message);
++  g_scanner_warn (scanner, "%s", message);
+ }
+ 
+ static guint
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk+2.git/commitdiff/3a10ef13b0da8c97e103c235eb80a6fd0c2bd15e



More information about the pld-cvs-commit mailing list