rpms/gimp/devel gimp-2.6.5-define-deprecated.patch, NONE, 1.1 gimp.spec, 1.183, 1.184

Nils Philippsen nphilipp at fedoraproject.org
Mon Mar 9 10:38:53 UTC 2009


Author: nphilipp

Update of /cvs/pkgs/rpms/gimp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28656

Modified Files:
	gimp.spec 
Added Files:
	gimp-2.6.5-define-deprecated.patch 
Log Message:
define deprecated gtk functions to avoid crashes (#486122)


gimp-2.6.5-define-deprecated.patch:

--- NEW FILE gimp-2.6.5-define-deprecated.patch ---
diff -up gimp-2.6.5/app/widgets/gimpuimanager.c.define-deprecated gimp-2.6.5/app/widgets/gimpuimanager.c
--- gimp-2.6.5/app/widgets/gimpuimanager.c.define-deprecated	2009-02-13 21:35:26.000000000 +0100
+++ gimp-2.6.5/app/widgets/gimpuimanager.c	2009-03-09 11:17:58.624783561 +0100
@@ -23,6 +23,7 @@
 
 #include <string.h>
 
+#undef GTK_DISABLE_DEPRECATED
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 


Index: gimp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gimp/devel/gimp.spec,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -r1.183 -r1.184
--- gimp.spec	9 Mar 2009 09:55:33 -0000	1.183
+++ gimp.spec	9 Mar 2009 10:38:23 -0000	1.184
@@ -107,6 +107,7 @@
 Source1:        gimp-plugin-mgr.in
 Patch0:         gimp-2.6.2-xdg-open.patch
 Patch1:         gimp-2.6.2-jpeg-units.patch
+Patch2:         gimp-2.6.5-define-deprecated.patch
 
 %description
 GIMP (GNU Image Manipulation Program) is a powerful image composition and
@@ -186,6 +187,7 @@
 %setup -q -n gimp-%{version}
 %patch0 -p1 -b .xdg-open
 %patch1 -p1 -b .jpeg-units
+%patch2 -p1 -b .define-deprecated
 
 %build
 if [ ! -f configure ]; then
@@ -465,6 +467,7 @@
 %changelog
 * Mon Mar 09 2009 Nils Philippsen <nils at redhat.com> - 2:2.6.5-3
 - rebuild against new WebKit
+- define deprecated gtk functions to avoid crashes (#486122)
 
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2:2.6.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild




More information about the fedora-extras-commits mailing list