Patch for gtk+ version check lowered to 2.21.1

This commit is contained in:
Milan Crha 2010-06-07 13:48:23 +00:00
parent 2a0a9c3460
commit e0c8643fb8
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up evolution-data-server-2.31.3/libedataserverui/gtk-compat.h.lower-version evolution-data-server-2.31.3/libedataserverui/gtk-compat.h
--- evolution-data-server-2.31.3/libedataserverui/gtk-compat.h.lower-version 2010-06-07 15:28:43.000000000 +0200
+++ evolution-data-server-2.31.3/libedataserverui/gtk-compat.h 2010-06-07 15:30:07.000000000 +0200
@@ -8,7 +8,7 @@
* That way it is still possible to build with GTK+ 2.20.
*/
-#if !GTK_CHECK_VERSION(2,21,2)
+#if !GTK_CHECK_VERSION(2,21,1)
#define gdk_drag_context_get_actions(context) (context)->actions
#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action

View File

@ -42,6 +42,9 @@ Obsoletes: evolution-webcal < 2.24.0
# RH bug #243296
Patch11: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
# lower gtk+ version requirement for the Gdk sealed properties
Patch12: evolution-data-server-2.31.3-lower-gtk-version.patch
### Build Dependencies ###
BuildRequires: GConf2-devel
@ -120,6 +123,7 @@ This package contains developer documentation for %{name}.
%setup -q
%patch11 -p1 -b .fix-64bit-acinclude
%patch12 -p1 -b .lower-gtk-version
mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib