[evolution/f15] Add patch for Red Hat bug #707578 (crash on message fetching)
Milan Crha
mcrha at fedoraproject.org
Thu Jun 2 06:01:55 UTC 2011
commit c7aceeb20c978eb1372fc5707e3861d5976d5c3d
Author: Milan Crha <mcrha at redhat.com>
Date: Thu Jun 2 08:01:28 2011 +0200
Add patch for Red Hat bug #707578 (crash on message fetching)
evolution-3.0.2-rhbug707578.patch | 26 ++++++++++++++++++++++++++
evolution.spec | 9 ++++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/evolution-3.0.2-rhbug707578.patch b/evolution-3.0.2-rhbug707578.patch
new file mode 100644
index 0000000..1957f03
--- /dev/null
+++ b/evolution-3.0.2-rhbug707578.patch
@@ -0,0 +1,26 @@
+diff -up evolution-3.0.2/mail/mail-send-recv.c.rhbug707578 evolution-3.0.2/mail/mail-send-recv.c
+--- evolution-3.0.2/mail/mail-send-recv.c.rhbug707578 2011-06-02 07:54:56.034531697 +0200
++++ evolution-3.0.2/mail/mail-send-recv.c 2011-06-02 07:57:45.388735422 +0200
+@@ -924,6 +924,8 @@ refresh_folders_exec (struct _refresh_fo
+
+ get_folders (m->store, m->folders, m->finfo);
+
++ camel_operation_push_message (m->info->cancellable, _("Updating..."));
++
+ for (i=0;i<m->folders->len;i++) {
+ folder = e_mail_session_uri_to_folder_sync (
+ m->info->session,
+@@ -944,9 +946,12 @@ refresh_folders_exec (struct _refresh_fo
+ break;
+
+ if (m->info->state != SEND_CANCELLED)
+- g_signal_emit_by_name (m->info->cancellable, "status", _("Updating..."), 100 * i / m->folders->len);
++ camel_operation_progress (
++ m->info->cancellable, 100 * i / m->folders->len);
+ }
+
++ camel_operation_pop_message (m->info->cancellable);
++
+ if (cancellable)
+ g_signal_handler_disconnect (m->info->cancellable, handler_id);
+ }
diff --git a/evolution.spec b/evolution.spec
index d627f16..fa3ef29 100644
--- a/evolution.spec
+++ b/evolution.spec
@@ -28,7 +28,7 @@
Name: evolution
Version: 3.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: Applications/Productivity
Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL
@@ -49,6 +49,9 @@ Patch13: evolution-2.30.1-help-contents.patch
Patch14: evolution-help-gl.patch
+# RH bug #707578
+Patch15: evolution-3.0.2-rhbug707578.patch
+
## Dependencies ###
Requires(pre): GConf2
@@ -205,6 +208,7 @@ This package contains the plugin to import Microsoft Personal Storage Table
%patch10 -p1 -b .ldaphack
%patch13 -p1 -b .help-contents
%patch14 -p1 -b .help-gl
+%patch15 -p1 -b .rhbug707578
mkdir -p krb5-fakeprefix/include
mkdir -p krb5-fakeprefix/lib
@@ -594,6 +598,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog
+* Thu Jun 02 2011 Milan Crha <mcrha at redhat.com> - 3.0.2-2
+- Add patch for Red Hat bug #707578 (crash on message fetching)
+
* Mon May 23 2011 Milan Crha <mcrha at redhat.com> - 3.0.2-1
- Update to 3.0.2
More information about the scm-commits
mailing list