Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b895ab212c1dab851c089482c49eb9d97aaef447

commit b895ab212c1dab851c089482c49eb9d97aaef447
Author: Devil505 <devil505li...@gmail.com>
Date:   Wed Jan 13 19:26:38 2010 +0100

sdlimage-1.2.10-1-i686
* version bump

diff --git a/source/xlib-extra/sdlimage/CVE-2007-6697+CVE-2008-0544.patch 
b/source/xlib-extra/sdlimage/CVE-2007-6697+CVE-2008-0544.patch
deleted file mode 100644
index 7c17a83..0000000
--- a/source/xlib-extra/sdlimage/CVE-2007-6697+CVE-2008-0544.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -Naur SDL_image-1.2.6/IMG_gif.c SDL_image-1.2.6-CVE/IMG_gif.c
---- SDL_image-1.2.6/IMG_gif.c  2007-07-02 04:03:48.000000000 +0200
-+++ SDL_image-1.2.6-CVE/IMG_gif.c      2008-03-29 14:03:20.000000000 +0100
-@@ -418,6 +418,10 @@
-     static int stack[(1 << (MAX_LWZ_BITS)) * 2], *sp;
-     register int i;
-
-+    /* Fixed buffer overflow found by Michael Skladnikiewicz */
-+    if (input_code_size > MAX_LWZ_BITS)
-+        return -1;
-+
-     if (flag) {
-       set_code_size = input_code_size;
-       code_size = set_code_size + 1;
-diff -Naur SDL_image-1.2.6/IMG_lbm.c SDL_image-1.2.6-CVE/IMG_lbm.c
---- SDL_image-1.2.6/IMG_lbm.c  2007-07-20 06:36:32.000000000 +0200
-+++ SDL_image-1.2.6-CVE/IMG_lbm.c      2008-03-29 14:03:29.000000000 +0100
-@@ -28,6 +28,7 @@
-    EHB and HAM (specific Amiga graphic chip modes) support added by Marc Le 
Douarain
-    (http://www.multimania.com/mavati) in December 2003.
-    Stencil and colorkey fixes by David Raulo (david.raulo AT free DOT fr) in 
February 2004.
-+   Buffer overflow fix in RLE decompression by David Raulo in January 2008.
- */
-
- #include <stdio.h>
-@@ -328,7 +329,7 @@
-                                               count ^= 0xFF;
-                                               count += 2; /* now it */
-
--                                              if ( !SDL_RWread( src, &color, 
1, 1 ) )
-+                                              if ( ( count > remainingbytes ) 
|| !SDL_RWread( src, &color, 1, 1 ) )
-                                               {
-                                                  error="error reading BODY 
chunk";
-                                                       goto done;
-@@ -339,7 +340,7 @@
-                                       {
-                                               ++count;
-
--                                              if ( !SDL_RWread( src, ptr, 
count, 1 ) )
-+                                              if ( ( count > remainingbytes ) 
|| !SDL_RWread( src, ptr, count, 1 ) )
-                                               {
-                                                  error="error reading BODY 
chunk";
-                                                       goto done;
diff --git a/source/xlib-extra/sdlimage/FrugalBuild 
b/source/xlib-extra/sdlimage/FrugalBuild
index d23fb9a..56dce2b 100644
--- a/source/xlib-extra/sdlimage/FrugalBuild
+++ b/source/xlib-extra/sdlimage/FrugalBuild
@@ -2,17 +2,16 @@
# Maintainer: Priyank Gosalia <priyan...@gmail.com>

pkgname=sdlimage
-pkgver=1.2.6
-pkgrel=3
+pkgver=1.2.10
+pkgrel=1
pkgdesc="Image loading library for Simple DirectMedia Layer 1.2"
url="http://www.libsdl.org/";
depends=('sdl>=1.2.13-2' 'libjpeg' 'libpng' 'libtiff')
groups=('xlib-extra')
archs=('i686' 'x86_64' 'ppc')
up2date="lynx -dump http://www.libsdl.org/projects/SDL_image/ | grep -m1 tar.gz 
| sed 's/.*e-\(.*\).t.*/\1/'"
-source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$pkgver.tar.gz
 CVE-2007-6697+CVE-2008-0544.patch)
-sha1sums=('5045df31e4db29d8890110fd18024c9d08efca30' \
-          '5e3a363c78f20692045b15782160ebf50cc8fca3')
+source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$pkgver.tar.gz)
+sha1sums=('6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97')
_F_cd_path="SDL_image-$pkgver"
Fconfopts="$Fconfopts --enable-jpeg"
# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to