From 2d6ad9d1074e4e5ccf9bee058f6657b70a9fe71b Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mar 09 2009 10:38:23 +0000 Subject: define deprecated gtk functions to avoid crashes (#486122) --- diff --git a/gimp-2.6.5-define-deprecated.patch b/gimp-2.6.5-define-deprecated.patch new file mode 100644 index 0000000..fbbe87a --- /dev/null +++ b/gimp-2.6.5-define-deprecated.patch @@ -0,0 +1,11 @@ +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 + ++#undef GTK_DISABLE_DEPRECATED + #include + #include + diff --git a/gimp.spec b/gimp.spec index 6170c54..247ae6c 100644 --- a/gimp.spec +++ b/gimp.spec @@ -107,6 +107,7 @@ Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2 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 @@ EOF %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 @@ fi %changelog * Mon Mar 09 2009 Nils Philippsen - 2:2.6.5-3 - rebuild against new WebKit +- define deprecated gtk functions to avoid crashes (#486122) * Tue Feb 24 2009 Fedora Release Engineering - 2:2.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild