diff --git a/fontforge-20100501-select-points-crash.patch b/fontforge-20100501-select-points-crash.patch new file mode 100644 index 0000000..90c9bde --- /dev/null +++ b/fontforge-20100501-select-points-crash.patch @@ -0,0 +1,11 @@ +--- fontforge-20100501.orig/fontforge/charview.c 2010-04-15 03:26:28.000000000 +0100 ++++ fontforge-20100501/fontforge/charview.c 2011-03-01 15:09:22.821753002 +0000 +@@ -8597,7 +8597,7 @@ + static int CVNumForePointsSelected(CharView *cv, BasePoint **bp) { + SplineSet *spl; + SplinePoint *test, *first; +- BasePoint *bps[4]; ++ BasePoint *bps[5]; + int i, cnt; + + if ( cv->b.drawmode!=dm_fore ) diff --git a/fontforge.spec b/fontforge.spec index acd3dea..5f6e1b9 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -5,7 +5,7 @@ Name: fontforge Version: 20100501 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Outline and bitmap font editor Group: Applications/Publishing @@ -21,6 +21,7 @@ Patch2: fontforge-20100501-splinesets.patch Patch3: fontforge-20100501-python27.patch Patch4: fontforge-20100501-CVE-2010-4259.patch Patch5: fontforge-20100501-unicode-crash.patch +Patch6: fontforge-20100501-select-points-crash.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: xdg-utils @@ -66,6 +67,7 @@ to compile applications against fontforge. %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 mkdir htdocs tar xjf %{SOURCE2} -C htdocs @@ -156,6 +158,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %{_libdir}/pkgconfig/*.pc %changelog +* Tue Mar 01 2011 Paul Williams - 20100501-8 +- Add patch for charview crash. Fixes bug #660376 + * Wed Feb 16 2011 Kevin Fenzi - 20100501-7 - Fix patch for python. Fixes bug #677917 - Add patch for unicode glyph crash. Fixes bug #631172