rpms/osmo/F-9 osmo-0.2.4-crash.patch,NONE,1.1 osmo.spec,1.8,1.9

Debarshi Ray rishi at fedoraproject.org
Sun Dec 14 16:06:55 UTC 2008


Author: rishi

Update of /cvs/pkgs/rpms/osmo/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16337

Modified Files:
	osmo.spec 
Added Files:
	osmo-0.2.4-crash.patch 
Log Message:
* Sun Dec 14 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.4-2
- Fixed crash due to SIGABRT using patch written by Tomasz Maka.


osmo-0.2.4-crash.patch:

--- NEW FILE osmo-0.2.4-crash.patch ---
diff -urNp osmo-0.2.4.orig/src/contacts.c osmo-0.2.4/src/contacts.c
--- osmo-0.2.4.orig/src/contacts.c	2008-12-14 20:16:20.122849272 +0530
+++ osmo-0.2.4/src/contacts.c	2008-12-14 20:17:47.334075839 +0530
@@ -606,7 +606,7 @@ gint i;
                 path = gtk_tree_path_new_first();
                 if (path != NULL) {
                     gtk_tree_view_set_cursor (GTK_TREE_VIEW (appGUI->cnt->contacts_list), path, NULL, FALSE);
-                    g_free(path);
+                    gtk_tree_path_free(path);
                 }
             } else {
                 gui_clear_text_buffer (gtk_text_view_get_buffer(GTK_TEXT_VIEW(appGUI->cnt->contacts_desc_textview)), &titer);


Index: osmo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/osmo/F-9/osmo.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- osmo.spec	25 Nov 2008 09:29:43 -0000	1.8
+++ osmo.spec	14 Dec 2008 16:06:25 -0000	1.9
@@ -2,12 +2,14 @@
 Summary(pl):	Osobisty organizer
 Name:		osmo
 Version:	0.2.4
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Applications/Productivity
 URL:		http://clay.ll.pl/osmo/
 Source0:	http://downloads.sourceforge.net/%{name}-pim/%{name}-%{version}.tar.gz
 
+Patch0:		%{name}-%{version}-crash.patch
+
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Requires:	hicolor-icon-theme
@@ -39,6 +41,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --with-gringrotts --with-libical --with-libsyncml
@@ -96,6 +99,9 @@
 %{_mandir}/man1/%{name}.1*
 
 %changelog
+* Sun Dec 14 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.4-2
+- Fixed crash due to SIGABRT using patch written by Tomasz Maka.
+
 * Mon Nov 24 2008 Debarshi Ray <rishi at fedoraproject.org> - 0.2.4-1
 - Version bump to 0.2.4. Closes Red Hat Bugzilla bug #464484.
 - Timezone information fix accepted by upstream.




More information about the fedora-extras-commits mailing list