rpms/xfce4-appfinder/devel xfce4-appfinder-4.2.3-infocrash.patch, NONE, 1.1 xfce4-appfinder.spec, 1.6, 1.7

Kevin Fenzi (kevin) fedora-extras-commits at redhat.com
Thu May 18 20:14:15 UTC 2006


Author: kevin

Update of /cvs/extras/rpms/xfce4-appfinder/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16663

Modified Files:
	xfce4-appfinder.spec 
Added Files:
	xfce4-appfinder-4.2.3-infocrash.patch 
Log Message:
Add patch to fix crash in information selection (fixes #192195)


xfce4-appfinder-4.2.3-infocrash.patch:

--- NEW FILE xfce4-appfinder-4.2.3-infocrash.patch ---
diff -ruN xfce4-appfinder-4.2.3.orig/src/callbacks.c xfce4-appfinder-4.2.3/src/callbacks.c
--- xfce4-appfinder-4.2.3.orig/src/callbacks.c	2005-11-05 18:04:23.000000000 +0100
+++ xfce4-appfinder-4.2.3/src/callbacks.c	2006-05-18 12:05:05.000000000 +0200
@@ -266,7 +266,7 @@
         xfce_desktop_entry_get_string (dentry, _("Comment"), TRUE, &comment);
         if (!comment)
         {
-            comment = _("N/A");
+            comment = g_strdup( _("N/A") );
         }
         
         dlg->comment = gtk_label_new(NULL);
@@ -280,7 +280,7 @@
         xfce_desktop_entry_get_string (dentry, "Categories", TRUE, &cats);
         if (!cats)
         {
-            cats = _("N/A");
+            cats = g_strdup( _("N/A") );
         }
         else
         {
@@ -300,7 +300,7 @@
         xfce_desktop_entry_get_string (dentry, "Exec", TRUE, &exec);
         if (!exec)
         {
-            exec = _("N/A");
+            exec = g_strdup( _("N/A") );
         }
         dlg->exec = gtk_label_new(NULL);
         gtk_label_set_markup (GTK_LABEL(dlg->exec), g_strconcat(_("<b>Command:</b> "), exec, NULL));


Index: xfce4-appfinder.spec
===================================================================
RCS file: /cvs/extras/rpms/xfce4-appfinder/devel/xfce4-appfinder.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xfce4-appfinder.spec	17 Feb 2006 00:24:16 -0000	1.6
+++ xfce4-appfinder.spec	18 May 2006 20:14:15 -0000	1.7
@@ -1,10 +1,11 @@
 Summary: Appfinder for the Xfce4 Desktop Environment
 Name: xfce4-appfinder
 Version: 4.2.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPL
 URL: http://www.xfce.org/
 Source0: http://www.us.xfce.org/archive/xfce-4.2.3.1/src/xfce4-appfinder-4.2.3.tar.gz
+Patch0: xfce4-appfinder-4.2.3-infocrash.patch
 Group: User Interface/Desktops
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: libxfcegui4 >= 4.2.3
@@ -17,6 +18,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .infocrash
 
 %build
 %configure
@@ -42,6 +44,9 @@
 %{_datadir}/xfce4/doc/he
 
 %changelog
+* Thu May 18 2006 Kevin Fenzi <kevin at tummy.com> - 4.2.3-3
+- Add patch to fix crash in information selection (fixes #192195)
+
 * Thu Feb 16 2006 Kevin Fenzi <kevin at tummy.com> - 4.2.3-2.fc5
 - Rebuild for fc5 
 




More information about the fedora-extras-commits mailing list