- Add freetype-2.3.9-aliasing.patch

- Resolves: 513582
This commit is contained in:
Behdad Esfahbod 2009-07-30 18:04:50 +00:00
parent 680c21ccdb
commit f4a7188d6e
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- freetype-2.3.9.bak/src/cache/ftccache.h 2007-05-16 17:37:05.000000000 +0200
+++ freetype-2.3.9/src/cache/ftccache.h 2009-07-02 14:54:10.000000000 +0200
@@ -246,8 +246,7 @@
error = FTC_Cache_NewNode( _cache, _hash, query, &_node ); \
\
_Ok: \
- _pnode = (FTC_Node*)(void*)&(node); \
- *_pnode = _node; \
+ node = _node; \
FT_END_STMNT
#else /* !FTC_INLINE */

View File

@ -9,7 +9,7 @@
Summary: A free and portable font rendering engine
Name: freetype
Version: 2.3.9
Release: 5%{?dist}
Release: 6%{?dist}
License: FTL or GPLv2+
Group: System Environment/Libraries
URL: http://www.freetype.org
@ -31,6 +31,9 @@ Patch88: freetype-multilib.patch
# Fix crash https://bugs.freedesktop.org/show_bug.cgi?id=6841
Patch89: freetype-2.2.1-memcpy-fix.patch
# Fix aliasing issue
Patch90: freetype-2.3.9-aliasing.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel
@ -97,6 +100,7 @@ popd
%patch88 -p1 -b .multilib
%patch89 -p1 -b .memcpy
%patch90 -p1 -b .aliasing
%build
@ -226,6 +230,10 @@ rm -rf $RPM_BUILD_ROOT
%doc docs/tutorial
%changelog
* Thu Jul 30 2009 Behdad Esfahbod <behdad@redhat.com> 2.3.9-6
- Add freetype-2.3.9-aliasing.patch
- Resolves: 513582
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild