define deprecated gtk functions to avoid crashes (#486122)
This commit is contained in:
parent
559c076506
commit
2d6ad9d107
11
gimp-2.6.5-define-deprecated.patch
Normal file
11
gimp-2.6.5-define-deprecated.patch
Normal file
@ -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 <string.h>
|
||||||
|
|
||||||
|
+#undef GTK_DISABLE_DEPRECATED
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
|
@ -107,6 +107,7 @@ Source0: ftp://ftp.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2
|
|||||||
Source1: gimp-plugin-mgr.in
|
Source1: gimp-plugin-mgr.in
|
||||||
Patch0: gimp-2.6.2-xdg-open.patch
|
Patch0: gimp-2.6.2-xdg-open.patch
|
||||||
Patch1: gimp-2.6.2-jpeg-units.patch
|
Patch1: gimp-2.6.2-jpeg-units.patch
|
||||||
|
Patch2: gimp-2.6.5-define-deprecated.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GIMP (GNU Image Manipulation Program) is a powerful image composition and
|
GIMP (GNU Image Manipulation Program) is a powerful image composition and
|
||||||
@ -186,6 +187,7 @@ EOF
|
|||||||
%setup -q -n gimp-%{version}
|
%setup -q -n gimp-%{version}
|
||||||
%patch0 -p1 -b .xdg-open
|
%patch0 -p1 -b .xdg-open
|
||||||
%patch1 -p1 -b .jpeg-units
|
%patch1 -p1 -b .jpeg-units
|
||||||
|
%patch2 -p1 -b .define-deprecated
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -f configure ]; then
|
if [ ! -f configure ]; then
|
||||||
@ -465,6 +467,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Mar 09 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-3
|
* Mon Mar 09 2009 Nils Philippsen <nils@redhat.com> - 2:2.6.5-3
|
||||||
- rebuild against new WebKit
|
- rebuild against new WebKit
|
||||||
|
- define deprecated gtk functions to avoid crashes (#486122)
|
||||||
|
|
||||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.5-2
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.5-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user