SHA256
1
0
forked from pool/freetype2
OBS User unknown 2008-08-21 16:08:44 +00:00 committed by Git OBS Bridge
parent 874567c334
commit 2714617701
5 changed files with 65 additions and 7 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Aug 18 16:38:09 CEST 2008 - mfabian@suse.de
- fix uninitialized pointer "FT_STREAM stream" in function
FT_Open_Face() which made fontforge crash while trying to apply
a workaround to the sazanami-fonts because fontforge called
FT_Open_Face() with 0 for the FT_Library argument and
then freetype crashed in FT_Stream_Free().
-------------------------------------------------------------------
Wed Jul 23 12:20:30 CEST 2008 - mfabian@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package freetype2 (Version 2.3.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -17,7 +24,7 @@ License: Other uncritical OpenSource License
Group: System/Libraries
AutoReqProv: on
Version: 2.3.7
Release: 1
Release: 13
Url: http://www.freetype.org
Summary: A TrueType Font Library
# CVS repository:
@ -33,6 +40,7 @@ Patch4: ft2-stream-compat.diff
Patch5: revert-fix-bytecode.patch
Patch8: bugzilla-159166-reduce-embolden-distance.patch
Patch9: fix-build.patch
Patch10: uninitialized-variable.patch
Patch308961: bugzilla-308961-cmex-workaround.patch
Patch100: freetype2-bc.patch
Patch200: freetype2-subpixel.patch
@ -87,7 +95,8 @@ Authors:
%patch4 -p 1 -b .ft2-stream-compat
#%patch5 -p 1
#%patch8 -p 1
%%patch9 -p 1
%patch9 -p 1
%patch10 -p 1
%patch308961 -p 1
%if %{enable_bytecode_interpreter}
%patch100 -p 1 -b .bytecode
@ -142,6 +151,12 @@ make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
/usr/share/aclocal/*
%changelog
* Mon Aug 18 2008 mfabian@suse.de
- fix uninitialized pointer "FT_STREAM stream" in function
FT_Open_Face() which made fontforge crash while trying to apply
a workaround to the sazanami-fonts because fontforge called
FT_Open_Face() with 0 for the FT_Library argument and
then freetype crashed in FT_Stream_Free().
* Wed Jul 23 2008 mfabian@suse.de
- update to 2.3.7. Extract from the docs/CHANGES file:
If the library was compiled on an i386 platform using gcc, and

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Aug 18 16:38:09 CEST 2008 - mfabian@suse.de
- fix uninitialized pointer "FT_STREAM stream" in function
FT_Open_Face() which made fontforge crash while trying to apply
a workaround to the sazanami-fonts because fontforge called
FT_Open_Face() with 0 for the FT_Library argument and
then freetype crashed in FT_Stream_Free().
-------------------------------------------------------------------
Wed Jul 23 12:20:30 CEST 2008 - mfabian@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package ft2demos (Version 2.3.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -20,7 +27,7 @@ AutoReqProv: on
Supplements: fonts-config
%endif
Version: 2.3.7
Release: 1
Release: 16
%define freetype_version %{version}
Url: http://www.freetype.org
Summary: Freetype2 Utilities and Demo Programs
@ -128,6 +135,12 @@ popd
%{_bindir}/testname
%changelog
* Mon Aug 18 2008 mfabian@suse.de
- fix uninitialized pointer "FT_STREAM stream" in function
FT_Open_Face() which made fontforge crash while trying to apply
a workaround to the sazanami-fonts because fontforge called
FT_Open_Face() with 0 for the FT_Library argument and
then freetype crashed in FT_Stream_Free().
* Wed Jul 23 2008 mfabian@suse.de
- update to 2.3.7. Extract from the docs/CHANGES file:
If the library was compiled on an i386 platform using gcc, and

View File

@ -0,0 +1,12 @@
diff -ru freetype-2.3.7.orig//src/base/ftobjs.c freetype-2.3.7/src/base/ftobjs.c
--- freetype-2.3.7.orig//src/base/ftobjs.c 2008-06-10 06:57:53.000000000 +0200
+++ freetype-2.3.7/src/base/ftobjs.c 2008-08-18 16:16:38.000000000 +0200
@@ -1713,7 +1713,7 @@
FT_Error error;
FT_Driver driver;
FT_Memory memory;
- FT_Stream stream;
+ FT_Stream stream = NULL;
FT_Face face = 0;
FT_ListNode node = 0;
FT_Bool external_stream;