Fix giflib5 fallout.
This commit is contained in:
parent
e05a148fde
commit
1991a5e3f3
2 changed files with 24 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.30 2011/04/05 11:49:51 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.31 2013/08/31 14:50:32 joerg Exp $
|
||||
|
||||
SHA1 (kaffe-1.1.7.tar.gz) = 5951d16a4a7b11689932583d134520ca6de00817
|
||||
RMD160 (kaffe-1.1.7.tar.gz) = 7523a3470cd06cf60dbade8ea2f464dc9d85277b
|
||||
|
@ -17,4 +17,5 @@ SHA1 (patch-bc) = f00d541613db81540bcd21ddc68f7b27232024b6
|
|||
SHA1 (patch-ca) = 0dc783a8e78016ef5e5e2f3392644690e3a2de9a
|
||||
SHA1 (patch-cb) = c698b0a2e078cc035dfd7401617fc8d4c2ef5fbe
|
||||
SHA1 (patch-cc) = df48315c9470d433e33fd80136d7bf7f60f83e1d
|
||||
SHA1 (patch-libraries_clib_awt_X_imggif.c) = f886133219216af242839bb7af90ce45f8599db0
|
||||
SHA1 (patch-libraries_clib_awt_X_imgpng.c) = 0cb5d6ef9349c1f6e1ac1d5885f574f4e2a0aac9
|
||||
|
|
22
lang/kaffe/patches/patch-libraries_clib_awt_X_imggif.c
Normal file
22
lang/kaffe/patches/patch-libraries_clib_awt_X_imggif.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
$NetBSD: patch-libraries_clib_awt_X_imggif.c,v 1.1 2013/08/31 14:50:32 joerg Exp $
|
||||
|
||||
--- libraries/clib/awt/X/imggif.c.orig 2013-08-31 13:19:32.000000000 +0000
|
||||
+++ libraries/clib/awt/X/imggif.c
|
||||
@@ -255,7 +255,7 @@ readGifFile ( int infile )
|
||||
|
||||
fileSrc.fd = infile;
|
||||
|
||||
- if ( !(gf = DGifOpen( &fileSrc, readGifFileSource)) )
|
||||
+ if ( !(gf = DGifOpen( &fileSrc, readGifFileSource, NULL)) )
|
||||
return 0;
|
||||
|
||||
img = readGif( gf);
|
||||
@@ -278,7 +278,7 @@ readGifData ( unsigned char* buf, long l
|
||||
bufSrc.buf = bufSrc.p = buf;
|
||||
bufSrc.remain = len;
|
||||
|
||||
- if ( !(gf = DGifOpen( &bufSrc, readGifBuffer)) )
|
||||
+ if ( !(gf = DGifOpen( &bufSrc, readGifBuffer, NULL)) )
|
||||
return 0;
|
||||
|
||||
img = readGif( gf);
|
Loading…
Reference in a new issue