rpms/glabels/F-9 glabels-fix-batch-segfault.patch, NONE, 1.1 glabels.spec, 1.16, 1.17

Peter Gordon (pgordon) fedora-extras-commits at redhat.com
Sat Aug 9 03:44:28 UTC 2008


Author: pgordon

Update of /cvs/pkgs/rpms/glabels/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23842

Modified Files:
	glabels.spec 
Added Files:
	glabels-fix-batch-segfault.patch 
Log Message:
Fix bug 458473.

glabels-fix-batch-segfault.patch:

--- NEW FILE glabels-fix-batch-segfault.patch ---
diff -up ./src/glabels-batch.c.old ./src/glabels-batch.c
--- ./src/glabels-batch.c.old	2008-08-08 20:09:46.000000000 -0700
+++ ./src/glabels-batch.c	2008-08-08 20:10:07.000000000 -0700
@@ -121,6 +121,7 @@ main (int argc, char **argv)
         gl_debug_init ();
         gl_merge_init ();
         lgl_db_init ();
+        gl_prefs_init();
 
         /* now print the files */
         for (p = file_list; p; p = p->next) {


Index: glabels.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glabels/F-9/glabels.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- glabels.spec	5 Mar 2008 06:02:10 -0000	1.16
+++ glabels.spec	9 Aug 2008 03:43:58 -0000	1.17
@@ -1,6 +1,6 @@
 Name:		glabels
 Version:	2.2.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A program for creating labels and business cards for GNOME
 
 Group:		Applications/Publishing
@@ -9,6 +9,9 @@
 
 Source0:	http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
 
+## https://bugzilla.redhat.com/show_bug.cgi?id=458473
+Patch0: 	%{name}-fix-batch-segfault.patch
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	desktop-file-utils
@@ -73,6 +76,7 @@
 
 %prep
 %setup -q
+%patch0 -b .fix-patch-segfault
 
 
 %build
@@ -158,6 +162,10 @@
 
 
 %changelog
+* Fri Aug 08 2008 Peter Gordon <peter at thecodergeek.com> - 2.2.2-2
+- Add patch from Casey Harkins to fix a segfault in glabels-batch.
+- Resolves: bug #458473.
+
 * Tue Mar 04 2008 Peter Gordon <peter at thecodergeek.com> - 2.2.2-1
 - Update to new upstream bug-fix release (2.2.2).
 




More information about the fedora-extras-commits mailing list