From 9b3eb9036f34c2f48a29fbf0c21d067e3dfd74e0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Oct 04 2008 03:08:57 +0000 Subject: fix patch --- diff --git a/gail-make-resident.patch b/gail-make-resident.patch index 8293fb5..51af2ce 100644 --- a/gail-make-resident.patch +++ b/gail-make-resident.patch @@ -1,15 +1,16 @@ -diff -up gtk+-2.14.3/modules/other/gail/gail.c.make-resident gtk+-2.14.3/modules/other/gail/gail.c ---- gtk+-2.14.3/modules/other/gail/gail.c.make-resident 2008-10-03 22:42:20.000000000 -0400 -+++ gtk+-2.14.3/modules/other/gail/gail.c 2008-10-03 22:38:18.000000000 -0400 -@@ -981,3 +981,11 @@ gtk_module_init (gint *argc, char** argv +diff -up gtk+-2.14.3/modules/other/gail/gail.c.gail-make-resident gtk+-2.14.3/modules/other/gail/gail.c +--- gtk+-2.14.3/modules/other/gail/gail.c.gail-make-resident 2008-09-19 00:44:18.000000000 -0400 ++++ gtk+-2.14.3/modules/other/gail/gail.c 2008-10-03 22:59:58.000000000 -0400 +@@ -980,3 +980,12 @@ gtk_module_init (gint *argc, char** argv + return 0; } - ++ +const char * +g_module_check_init (GModule *module) +{ -+ g_module_make_resident (module); ++ g_module_make_resident (module); + -+ return NULL; ++ return NULL; +} -+ ++ diff --git a/gtk2.spec b/gtk2.spec index 2eaef19..53cecb7 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -16,7 +16,7 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Name: gtk2 Version: %{base_version} -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/gtk+/2.14/gtk+-%{version}.tar.bz2 @@ -301,7 +301,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-2.0 %changelog -* Fri Oct 3 2008 Matthias Clasen - 2.14.3-3 +* Fri Oct 3 2008 Matthias Clasen - 2.14.3-4 - Prevent unloading of the gail module * Thu Sep 25 2008 Matthias Clasen - 2.14.3-2