rpms/mail-notification/devel mail-notification-5.2-cache-crash-fix.patch, NONE, 1.1 mail-notification.spec, 1.52, 1.53
Dmitry Butskoy (buc)
fedora-extras-commits at redhat.com
Wed Apr 9 15:19:04 UTC 2008
Author: buc
Update of /cvs/extras/rpms/mail-notification/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26560
Modified Files:
mail-notification.spec
Added Files:
mail-notification-5.2-cache-crash-fix.patch
Log Message:
mail-notification-5.2-cache-crash-fix.patch:
--- NEW FILE mail-notification-5.2-cache-crash-fix.patch ---
diff -Nrbu mail-notification-5.2/build/src/mn-mailbox.c mail-notification-5.2-OK/build/src/mn-mailbox.c
--- mail-notification-5.2/build/src/mn-mailbox.c 2008-04-09 18:56:09.000000000 +0400
+++ mail-notification-5.2-OK/build/src/mn-mailbox.c 2008-04-09 18:56:15.000000000 +0400
@@ -464,7 +464,7 @@
#define __GOB_FUNCTION__ "MN:Mailbox::init"
self->_priv = G_TYPE_INSTANCE_GET_PRIVATE(self,MN_TYPE_MAILBOX,MNMailboxPrivate);
self->_priv->poll = TRUE;
- self->_priv->all_messages_mid_hash_table = g_hash_table_new(g_str_hash, g_str_equal);
+ self->_priv->all_messages_mid_hash_table = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify) g_object_unref);
self->_priv->all_messages_considered_as_read = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify) g_object_unref);
self->messages = g_ptr_array_new();
self->_priv->messages_hash_table = g_hash_table_new(g_str_hash, g_str_equal);
@@ -902,7 +902,7 @@
g_hash_table_replace(all_messages_hash_table, message->id, message);
if (message->mid)
- g_hash_table_replace(selfp->all_messages_mid_hash_table, message->mid, message);
+ g_hash_table_replace(selfp->all_messages_mid_hash_table, message->mid, g_object_ref(message));
if ((display_seen_mail || (message->flags & MN_MESSAGE_NEW) != 0)
&& ! g_hash_table_lookup(selfp->all_messages_considered_as_read, message->id))
Index: mail-notification.spec
===================================================================
RCS file: /cvs/extras/rpms/mail-notification/devel/mail-notification.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- mail-notification.spec 25 Mar 2008 13:01:25 -0000 1.52
+++ mail-notification.spec 9 Apr 2008 15:18:23 -0000 1.53
@@ -1,12 +1,13 @@
Name: mail-notification
Version: 5.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Status icon that informs you if you have new mail
Group: Applications/Internet
License: GPLv3+
URL: http://www.nongnu.org/mailnotify/
Source0: http://savannah.nongnu.org/download/mailnotify/mail-notification-%{version}.tar.bz2
+Patch0: mail-notification-5.2-cache-crash-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
@@ -63,6 +64,8 @@
done
popd
+%patch0 -p1
+
%build
@@ -169,6 +172,9 @@
%changelog
+* Wed Apr 9 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.2-3
+- add cache-crash patch from upstream (#440433)
+
* Tue Mar 25 2008 Dmitry Butskoy <Dmitry at Butskoy.name> - 5.2-2
- drop extra '#line" statements from pre-generated C sources
(needed for debuginfo package)
More information about the fedora-extras-commits
mailing list