rpms/evolution/devel evolution-2.31.5-gtk-compat-crash.patch, NONE, 1.1 evolution.spec, 1.451, 1.452

Matthew Barnes mbarnes at fedoraproject.org
Thu Jul 22 15:54:33 UTC 2010


Author: mbarnes

Update of /cvs/pkgs/rpms/evolution/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15915

Modified Files:
	evolution.spec 
Added Files:
	evolution-2.31.5-gtk-compat-crash.patch 
Log Message:

* Thu Jul 22 2010 Matthew Barnes <mbarnes at redhat.com> - 2.31.5-2.fc14
- Add patch to fix startup crash in gtk-compat macros.


evolution-2.31.5-gtk-compat-crash.patch:
 gtk-compat.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- NEW FILE evolution-2.31.5-gtk-compat-crash.patch ---
diff -up evolution-2.31.5/e-util/gtk-compat.h.gtk-compat-crash evolution-2.31.5/e-util/gtk-compat.h
--- evolution-2.31.5/e-util/gtk-compat.h.gtk-compat-crash	2010-07-11 18:26:08.000000000 -0400
+++ evolution-2.31.5/e-util/gtk-compat.h	2010-07-22 11:51:55.076484868 -0400
@@ -55,15 +55,15 @@ typedef enum {
 #define gdk_region_get_rectangles(region, rectangles, n_rectangles) \
 	G_STMT_START { \
 		GdkRectangle *__rects; \
-		gint __i, __n; \
+		gint __i, __nrects; \
 		\
-		__n = cairo_region_num_rectangles (region); \
-		__rects = g_new (GdkRectangle, __n); \
+		__nrects = cairo_region_num_rectangles (region); \
+		__rects = g_new (GdkRectangle, __nrects); \
 		\
-		for (__i = 0; __i < __n; __i++) \
+		for (__i = 0; __i < __nrects; __i++) \
 			cairo_region_get_rectangle ((region), __i, &__rects[__i]); \
 		\
-		*(n_rectangles) = __n; \
+		*(n_rectangles) = __nrects; \
 		*(rectangles) = __rects; \
 	} G_STMT_END
 


Index: evolution.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution/devel/evolution.spec,v
retrieving revision 1.451
retrieving revision 1.452
diff -u -p -r1.451 -r1.452
--- evolution.spec	15 Jul 2010 10:03:32 -0000	1.451
+++ evolution.spec	22 Jul 2010 15:54:32 -0000	1.452
@@ -33,7 +33,7 @@
 
 Name: evolution
 Version: 2.31.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Applications/Productivity
 Summary: Mail and calendar client for GNOME
 License: GPLv2+ and GFDL
@@ -55,6 +55,9 @@ Patch12: evolution-2.9.1-im-context-rese
 # RH bug #589555
 Patch13: evolution-2.30.1-help-contents.patch
 
+# Fixes a crash in gtk-compat.h macros
+Patch14: evolution-2.31.5-gtk-compat-crash.patch
+
 ## Dependencies ###
 
 Requires(pre): GConf2
@@ -207,6 +210,7 @@ This package contains the plugin to impo
 %patch10 -p1 -b .ldaphack
 %patch12 -p1 -b .im-context-reset
 %patch13 -p1 -b .help-contents
+%patch14 -p1 -b .gtk-compat-crash
 
 mkdir -p krb5-fakeprefix/include
 mkdir -p krb5-fakeprefix/lib
@@ -614,6 +618,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Thu Jul 22 2010 Matthew Barnes <mbarnes at redhat.com> - 2.31.5-2.fc14
+- Add patch to fix startup crash in gtk-compat macros.
+
 * Tue Jul 13 2010 Milan Crha <mcrha at redhat.com> - 2.31.5-1.fc14
 - Update to 2.31.5
 - Remove 'conduit' (removed upstream)



More information about the scm-commits mailing list