diff --git a/gtk+-1.2.10-format.patch b/gtk+-1.2.10-format.patch new file mode 100644 index 0000000..0fdf513 --- /dev/null +++ b/gtk+-1.2.10-format.patch @@ -0,0 +1,20 @@ +--- gtk/gtkthemes.c ++++ gtk/gtkthemes.c +@@ -90,7 +90,7 @@ gtk_theme_engine_get (const gchar *name) + g_free(engine_path); + if (!library) + { +- g_warning (g_module_error()); ++ g_warning ("%s", g_module_error()); + return NULL; + } + else +@@ -107,7 +107,7 @@ gtk_theme_engine_get (const gchar *name) + !g_module_symbol (library, "theme_exit", + (gpointer *)&result->exit)) + { +- g_warning (g_module_error()); ++ g_warning ("%s", g_module_error()); + g_free (result); + return NULL; + } diff --git a/gtk+.spec b/gtk+.spec index 76d4550..6e4b9f8 100644 --- a/gtk+.spec +++ b/gtk+.spec @@ -2,7 +2,7 @@ Summary: The GIMP ToolKit Name: gtk+ Epoch: 1 Version: 1.2.10 -Release: 76%{?dist} +Release: 77%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org/ @@ -73,6 +73,8 @@ Patch34: gtk+-1.2.10-multilib.patch Patch35: gtk+-1.2.10-unused-deps.patch # Avoid having to run autotools at build time Patch36: gtk+-1.2.10-autotools.patch +# Use format strings properly +Patch37: gtk+-1.2.10-format.patch BuildRequires: glib-devel >= 1:%{version} BuildRequires: libtool @@ -141,6 +143,7 @@ Libraries, header files and documentation for developing GTK+ %patch34 -p1 -b .multilib %patch35 -p1 -b .unused-deps %patch36 -b .autotools +%patch37 -b .format # The original config.{guess,sub} do not work on x86_64, aarch64 etc. # @@ -244,6 +247,9 @@ rm -rf %{buildroot} %changelog +* Thu Nov 21 2013 Paul Howarth - 1:1.2.10-77 +- Use format strings properly + * Sat Aug 03 2013 Fedora Release Engineering - 1:1.2.10-76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild