[arch-commits] CVS update of arch/build/lib/freetype2 (2 files)

Jan de Groot jgc at archlinux.org
Sat Jul 7 12:34:11 UTC 2007


    Date: Saturday, July 7, 2007 @ 08:34:11
  Author: jgc
    Path: /home/cvs-arch/arch/build/lib/freetype2

Modified: PKGBUILD (1.45 -> 1.46)
 Removed: freetype-CVE-2007-2754.patch (1.1)

upgpkg: freetype2 2.3.5-1
Update to 2.3.5, remove securityfix


------------------------------+
 PKGBUILD                     |   18 +++++++++---------
 freetype-CVE-2007-2754.patch |   32 --------------------------------
 2 files changed, 9 insertions(+), 41 deletions(-)


Index: arch/build/lib/freetype2/PKGBUILD
diff -u arch/build/lib/freetype2/PKGBUILD:1.45 arch/build/lib/freetype2/PKGBUILD:1.46
--- arch/build/lib/freetype2/PKGBUILD:1.45	Fri Jun  1 03:06:11 2007
+++ arch/build/lib/freetype2/PKGBUILD	Sat Jul  7 08:34:11 2007
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD,v 1.45 2007/06/01 07:06:11 jgc Exp $
+# $Id: PKGBUILD,v 1.46 2007/07/07 12:34:11 jgc Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=freetype2
-pkgver=2.3.4
-pkgrel=2
+pkgver=2.3.5
+pkgrel=1
 pkgdesc="TrueType font rendering library"
 arch=(i686 x86_64)
 license=('GPL')
 url="http://freetype.sourceforge.net"
 depends=('zlib')
 options=('!libtool')
-source=(http://heanet.dl.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
+source=(http://downloads.sourceforge.net/sourceforge/freetype/freetype-${pkgver}.tar.bz2
 	bytecode.patch
 	freetype-2.3.0-enable-spr.patch
 	freetype-2.2.1-enable-valid.patch
-	freetype-2.2.1-memcpy-fix.patch
-	freetype-CVE-2007-2754.patch)
-md5sums=('1a6c59a7723d637c78672e7784da865d' '9ff19e742968c29e3ba52b08d6bf0a50'\
-         '816dc8619a6904a7385769433c0a8653' '214119610444c9b02766ccee5e220680'\
+	freetype-2.2.1-memcpy-fix.patch)
+md5sums=('65234327c5ac46ee00ebda15995d4c1c'
+         '9ff19e742968c29e3ba52b08d6bf0a50'
+         '816dc8619a6904a7385769433c0a8653'
+         '214119610444c9b02766ccee5e220680'
          '6fb6606d28082ecb8e0c6d986b0b26aa')
 
 build() {
@@ -25,7 +26,6 @@
   patch -Np1 -i ${startdir}/src/freetype-2.3.0-enable-spr.patch || return 1
   patch -Np1 -i ${startdir}/src/freetype-2.2.1-enable-valid.patch || return 1
   patch -Np1 -i ${startdir}/src/freetype-2.2.1-memcpy-fix.patch || return 1
-  patch -Np0 -i ${startdir}/src/freetype-CVE-2007-2754.patch || return 1
 
   ./configure --prefix=/usr
   make || return 1
Index: arch/build/lib/freetype2/freetype-CVE-2007-2754.patch
diff -u arch/build/lib/freetype2/freetype-CVE-2007-2754.patch:1.1 arch/build/lib/freetype2/freetype-CVE-2007-2754.patch:removed
--- arch/build/lib/freetype2/freetype-CVE-2007-2754.patch:1.1	Fri Jun  1 03:06:11 2007
+++ arch/build/lib/freetype2/freetype-CVE-2007-2754.patch	Sat Jul  7 08:34:11 2007
@@ -1,32 +0,0 @@
---- src/truetype/ttgload.c
-+++ src/truetype/ttgload.c
-@@ -271,7 +271,11 @@
- 
-     n_points = 0;
-     if ( n_contours > 0 )
-+    {
-       n_points = cont[-1] + 1;
-+      if ( n_points < 0 )
-+        goto Invalid_Outline;
-+    }
- 
-     /* note that we will add four phantom points later */
-     error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 );
-@@ -682,7 +686,7 @@
-     FT_GlyphLoader  gloader = loader->gloader;
-     FT_Error        error   = TT_Err_Ok;
-     FT_Outline*     outline;
--    FT_UInt         n_points;
-+    FT_Int          n_points;
- 
- 
-     outline  = &gloader->current.outline;
-@@ -709,7 +713,7 @@
-       /* Deltas apply to the unscaled data. */
-       FT_Vector*  deltas;
-       FT_Memory   memory = loader->face->memory;
--      FT_UInt     i;
-+      FT_Int      i;
- 
- 
-       error = TT_Vary_Get_Glyph_Deltas( (TT_Face)(loader->face),




More information about the arch-commits mailing list