fix patch

This commit is contained in:
Matthias Clasen 2008-10-04 03:08:57 +00:00
parent 3ebf9b61be
commit 9b3eb9036f
2 changed files with 11 additions and 10 deletions

View File

@ -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;
+}
+
+

View File

@ -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 <mclasen@redhat.com> - 2.14.3-3
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.3-4
- Prevent unloading of the gail module
* Thu Sep 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.3-2