diff --git a/gail-make-resident.patch b/gail-make-resident.patch new file mode 100644 index 0000000..8293fb5 --- /dev/null +++ b/gail-make-resident.patch @@ -0,0 +1,15 @@ +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 + return 0; + } + ++const char * ++g_module_check_init (GModule *module) ++{ ++ g_module_make_resident (module); ++ ++ return NULL; ++} ++ diff --git a/gtk2.spec b/gtk2.spec index fe2038a..2eaef19 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: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/gtk+/2.14/gtk+-%{version}.tar.bz2 @@ -31,6 +31,9 @@ Patch1: gtk+-2.11.1-set-invisible-char-to-bullet.patch # see http://bugzilla.gnome.org/show_bug.cgi?id=463773 Patch2: workaround.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=554950 +Patch3: gail-make-resident.patch + BuildRequires: atk-devel >= %{atk_version} BuildRequires: pango-devel >= %{pango_version} BuildRequires: glib2-devel >= %{glib2_version} @@ -116,6 +119,7 @@ docs for the GTK+ widget toolkit. %patch0 -p1 -b .lib64 %patch1 -p1 -b .set-invisible-char-to-bullet %patch2 -p1 -b .workaround +%patch3 -p1 -b .gail-make-resident for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -297,6 +301,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-2.0 %changelog +* Fri Oct 3 2008 Matthias Clasen - 2.14.3-3 +- Prevent unloading of the gail module + * Thu Sep 25 2008 Matthias Clasen - 2.14.3-2 - Move message catalogs for properties to the -devel package