From c66b88128d2409d6a55d7c56c43924e564903d18b3f04063db03ca559ce4864f Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 10 Nov 2009 09:30:19 +0000 Subject: [PATCH] Accepting request 23973 from M17N Copy from M17N/fontforge based on submit request 23973 from user tiwai OBS-URL: https://build.opensuse.org/request/show/23973 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=13 --- fontforge-20090622-fdleak.patch | 12 ++++++++++++ fontforge.changes | 6 ++++++ fontforge.spec | 5 +++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 fontforge-20090622-fdleak.patch diff --git a/fontforge-20090622-fdleak.patch b/fontforge-20090622-fdleak.patch new file mode 100644 index 0000000..82131c1 --- /dev/null +++ b/fontforge-20090622-fdleak.patch @@ -0,0 +1,12 @@ +Index: fontforge/sfd.c +=================================================================== +--- fontforge/sfd.c.orig 2009-05-13 00:23:57.000000000 +0200 ++++ fontforge/sfd.c 2009-10-03 13:58:14.893617000 +0200 +@@ -4983,6 +4983,7 @@ return( 0 ); + } + } + } ++ closedir(dir); + } + SFDFixupBitmapRefs( bdf ); + return( 1 ); diff --git a/fontforge.changes b/fontforge.changes index 62600d5..af31955 100644 --- a/fontforge.changes +++ b/fontforge.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 3 12:16:21 UTC 2009 - crrodriguez@opensuse.org + +- fontforge-20090622-1.6: missing call to closedir [bnc#543458] +- fix -devel package dependencies + ------------------------------------------------------------------- Mon Jul 27 16:57:52 CEST 2009 - tiwai@suse.de diff --git a/fontforge.spec b/fontforge.spec index 70e273a..3bb099a 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -26,7 +26,7 @@ AutoReqProv: on Obsoletes: PfaEdit Provides: PfaEdit Version: 20090622 -Release: 1 +Release: 2 Url: http://fontforge.sourceforge.net/ Source0: http://dfn.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-%{version}.tar.bz2 Source1: http://surfnet.dl.sourceforge.net/sourceforge/fontforge/fontforge_htdocs-%{version}.tar.bz2 @@ -36,6 +36,7 @@ Source11: %name.png Patch0: docdir.patch Patch1: fontforge-array-fix.diff Patch2: fontforge-missing-closedir.diff +Patch3: fontforge-20090622-fdleak.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Font Editor @@ -57,7 +58,6 @@ License: BSD 3-clause (or similar) Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/Other Requires: %{name} = %{version} freetype2-devel -Requires: pkgconfig >= 0.12 %description devel This package contains all necessary include files and libraries needed @@ -75,6 +75,7 @@ Authors: %patch0 -p 1 -b .docdir %patch1 -p1 %patch2 -p1 +%patch3 mkdir docs tar jxvf $RPM_SOURCE_DIR/fontforge_htdocs-%{version}.tar.bz2 -C docs tar jxvf $RPM_SOURCE_DIR/fontforge_ja_htdocs-20060822.tar.bz2 -C docs