rpms/fontforge/devel fontforge-20100501-splinesets.patch, NONE, 1.1 fontforge.spec, 1.51, 1.52

Kevin Fenzi kevin at fedoraproject.org
Fri Jul 16 22:49:25 UTC 2010


Author: kevin

Update of /cvs/pkgs/rpms/fontforge/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv349

Modified Files:
	fontforge.spec 
Added Files:
	fontforge-20100501-splinesets.patch 
Log Message:
Add patch for bug 536920


fontforge-20100501-splinesets.patch:
 splineutil.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE fontforge-20100501-splinesets.patch ---
diff -Nur fontforge-20100501.orig/fontforge/splineutil.c fontforge-20100501/fontforge/splineutil.c
--- fontforge-20100501.orig/fontforge/splineutil.c	2010-04-21 18:53:25.000000000 -0600
+++ fontforge-20100501/fontforge/splineutil.c	2010-07-16 16:26:34.000000000 -0600
@@ -4629,14 +4629,14 @@
 	if ( r==NULL )
 return( NULL );
 	spl = r->layers[0].splines;
-	r = r->next;
+	do { r = r->next; } while ( r!=NULL && r->layers[0].splines==NULL );
     }
     while ( r!=NULL ) {
 	while ( spl!=NULL && spl->next!=r->layers[0].splines )
 	    spl = spl->next;
 	spl->next = NULL;
 	spl = r->layers[0].splines;
-	r = r->next;
+	do { r = r->next; } while ( r!=NULL && r->layers[0].splines==NULL );
     }
 return( layer->splines );
 }


Index: fontforge.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fontforge/devel/fontforge.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- fontforge.spec	20 May 2010 00:13:03 -0000	1.51
+++ fontforge.spec	16 Jul 2010 22:49:24 -0000	1.52
@@ -5,7 +5,7 @@
 
 Name:           fontforge
 Version:        20100501
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Outline and bitmap font editor
 
 Group:          Applications/Publishing
@@ -16,6 +16,8 @@ Source1:        fontforge.desktop
 Source2:        http://downloads.sourceforge.net/fontforge/fontforge_htdocs-%{docs_version}.tar.bz2
 Source3:        fontforge.xml
 Patch1:         fontforge-20090224-pythondl.patch
+# See Bug https://bugzilla.redhat.com/show_bug.cgi?id=536920 
+Patch2:		fontforge-20100501-splinesets.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:       xdg-utils
@@ -57,6 +59,7 @@ to compile applications against fontforg
 %setup -q -n %{name}-%{version}
 
 %patch1 -p1
+%patch2 -p1
 
 mkdir htdocs
 tar xjf %{SOURCE2} -C htdocs
@@ -147,6 +150,9 @@ update-mime-database %{_datadir}/mime &>
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Fri Jul 16 2010 Kevin Fenzi <kevin at tummy.com> - 20100501-2
+- Add patch for bug 536920
+
 * Wed May 19 2010 Kevin Fenzi <kevin at tummy.com> - 20100501-1
 - Update to 20100501
 



More information about the fonts-bugs mailing list