Update to 2.4.8
Remove an unneeded patch
This commit is contained in:
parent
bba3c2366f
commit
f772e1dab7
3
.gitignore
vendored
3
.gitignore
vendored
@ -19,3 +19,6 @@ ft2demos-2.4.2.tar.bz2
|
||||
/freetype-2.4.7.tar.bz2
|
||||
/freetype-doc-2.4.7.tar.bz2
|
||||
/ft2demos-2.4.7.tar.bz2
|
||||
/freetype-2.4.8.tar.bz2
|
||||
/freetype-doc-2.4.8.tar.bz2
|
||||
/ft2demos-2.4.8.tar.bz2
|
||||
|
@ -1,37 +0,0 @@
|
||||
--- freetype-2.4.2/src/base/ftstream.c 2010-08-04 15:52:01.000000000 +0200
|
||||
+++ freetype-2.4.2/src/base/ftstream.c 2010-10-06 18:47:07.000000000 +0200
|
||||
@@ -59,8 +59,17 @@
|
||||
{
|
||||
FT_Error error = FT_Err_Ok;
|
||||
|
||||
+ /* note that seeking to the first position after the file is valid */
|
||||
+ if ( pos > stream->size )
|
||||
+ {
|
||||
+ FT_ERROR(( "FT_Stream_Seek:"
|
||||
+ " invalid i/o; pos = 0x%lx, size = 0x%lx\n",
|
||||
+ pos, stream->size ));
|
||||
|
||||
- if ( stream->read )
|
||||
+ error = FT_Err_Invalid_Stream_Operation;
|
||||
+ }
|
||||
+
|
||||
+ if ( !error && stream->read )
|
||||
{
|
||||
if ( stream->read( stream, pos, 0, 0 ) )
|
||||
{
|
||||
@@ -71,15 +80,6 @@
|
||||
error = FT_Err_Invalid_Stream_Operation;
|
||||
}
|
||||
}
|
||||
- /* note that seeking to the first position after the file is valid */
|
||||
- else if ( pos > stream->size )
|
||||
- {
|
||||
- FT_ERROR(( "FT_Stream_Seek:"
|
||||
- " invalid i/o; pos = 0x%lx, size = 0x%lx\n",
|
||||
- pos, stream->size ));
|
||||
-
|
||||
- error = FT_Err_Invalid_Stream_Operation;
|
||||
- }
|
||||
|
||||
if ( !error )
|
||||
stream->pos = pos;
|
@ -6,8 +6,8 @@
|
||||
|
||||
Summary: A free and portable font rendering engine
|
||||
Name: freetype
|
||||
Version: 2.4.7
|
||||
Release: 2%{?dist}
|
||||
Version: 2.4.8
|
||||
Release: 1%{?dist}
|
||||
License: FTL or GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.freetype.org
|
||||
@ -25,8 +25,6 @@ Patch47: freetype-2.3.11-more-demos.patch
|
||||
# Fix multilib conflicts
|
||||
Patch88: freetype-multilib.patch
|
||||
|
||||
Patch89: freetype-2.4.2-CVE-2010-3311.patch
|
||||
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libX11-devel
|
||||
@ -86,7 +84,6 @@ pushd ft2demos-%{version}
|
||||
popd
|
||||
|
||||
%patch88 -p1 -b .multilib
|
||||
%patch89 -p1 -b .CVE-2010-3311
|
||||
|
||||
%build
|
||||
|
||||
@ -219,6 +216,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc docs/tutorial
|
||||
|
||||
%changelog
|
||||
* Tue Nov 15 2011 Marek Kasik <mkasik@redhat.com> 2.4.8-1
|
||||
- Update to 2.4.8
|
||||
- Remove an unneeded patch
|
||||
|
||||
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.7-2
|
||||
- Rebuilt for glibc bug#747377
|
||||
|
||||
|
6
sources
6
sources
@ -1,3 +1,3 @@
|
||||
dbadce8f0c5e70a0b7c51eadf2dd9394 freetype-2.4.7.tar.bz2
|
||||
09bfc874435c300252d42b8961564c05 freetype-doc-2.4.7.tar.bz2
|
||||
d0118543dfe789bb9fb3b43593b62c05 ft2demos-2.4.7.tar.bz2
|
||||
dbf2caca1d3afd410a29217a9809d397 freetype-2.4.8.tar.bz2
|
||||
538c925059e90be23928b454c14df728 freetype-doc-2.4.8.tar.bz2
|
||||
f44562cf0b434b6dc3488751f82d99ec ft2demos-2.4.8.tar.bz2
|
||||
|
Loading…
Reference in New Issue
Block a user