rpms/evolution-data-server/F-8 evolution-data-server-1.12.3-camel-shutdown.patch, NONE, 1.1 evolution-data-server.spec, 1.193, 1.194
Matthew Barnes (mbarnes)
fedora-extras-commits at redhat.com
Wed Jan 23 15:44:35 UTC 2008
Author: mbarnes
Update of /cvs/pkgs/rpms/evolution-data-server/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26011
Modified Files:
evolution-data-server.spec
Added Files:
evolution-data-server-1.12.3-camel-shutdown.patch
Log Message:
* Wed Jan 23 2008 Matthew Barnes <mbarnes at redhat.com> - 1.12.3-2.fc8
- Add patch for RH bug #278171 (crash on shutdown).
evolution-data-server-1.12.3-camel-shutdown.patch:
--- NEW FILE evolution-data-server-1.12.3-camel-shutdown.patch ---
diff -up evolution-data-server-1.12.3/camel/camel.c.camel-shutdown evolution-data-server-1.12.3/camel/camel.c
--- evolution-data-server-1.12.3/camel/camel.c.camel-shutdown 2007-10-12 02:29:32.000000000 -0400
+++ evolution-data-server-1.12.3/camel/camel.c 2008-01-23 10:39:31.000000000 -0500
@@ -53,22 +53,20 @@ camel_shutdown (void)
if (!initialised)
return;
-
-#if defined (HAVE_NSS) && !defined (G_OS_WIN32)
- /* For some reason we get into trouble on Win32 if we call these.
- * But they shouldn't be necessary as the process is exiting anywy?
- */
- NSS_Shutdown ();
-
- PR_Cleanup ();
-#endif /* HAVE_NSS */
-
+
certdb = camel_certdb_get_default ();
if (certdb) {
camel_certdb_save (certdb);
camel_object_unref (certdb);
}
-
+
+ /* These next calls must come last. */
+
+#if defined (HAVE_NSS)
+ NSS_Shutdown ();
+ PR_Cleanup ();
+#endif /* HAVE_NSS */
+
initialised = FALSE;
}
Index: evolution-data-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evolution-data-server/F-8/evolution-data-server.spec,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- evolution-data-server.spec 7 Jan 2008 16:47:01 -0000 1.193
+++ evolution-data-server.spec 23 Jan 2008 15:43:43 -0000 1.194
@@ -27,7 +27,7 @@
Name: evolution-data-server
Version: 1.12.3
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
Summary: Backend data server for Evolution
@@ -62,6 +62,9 @@
# RH bug #243296
Patch19: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
+# RH bug #278171 / GNOME bug #445309
+Patch20: evolution-data-server-1.12.3-camel-shutdown.patch
+
### Dependencies ###
Requires: GConf2
@@ -150,6 +153,8 @@
%patch17 -p1 -b .code-cleanup
%patch18 -p1 -b .camel-folder-summary-crash
%patch19 -p1 -b .fix-64bit-acinclude
+%patch20 -p1 -b .camel-shutdown
+
gtkdocize
mkdir -p krb5-fakeprefix/include
@@ -383,6 +388,9 @@
%{_libdir}/pkgconfig/libexchange-storage-%{eds_api_version}.pc
%changelog
+* Wed Jan 23 2008 Matthew Barnes <mbarnes at redhat.com> - 1.12.3-2.fc8
+- Add patch for RH bug #278171 (crash on shutdown).
+
* Mon Jan 07 2008 Milan Crha <mcrha at redhat.com> - 1.12.3-1.fc8
- Update to 1.12.3
- Run gtkdocize to avoid requiring gtk-doc 1.9, which is not available in F8
More information about the fedora-extras-commits
mailing list