Magellan Linux

Annotation of /trunk/java6-openjdk/patches/java6-openjdk-6.1.11.3-giflib5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1884 - (hide annotations) (download)
Fri Aug 24 12:46:32 2012 UTC (11 years, 8 months ago) by niro
File size: 542 byte(s)
-fixed patch
1 niro 1883 --- openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2011-11-14 23:12:12.000000000 +0100
2     +++ openjdk-magellan/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2012-08-24 12:50:12.476981142 +0200
3     @@ -318,7 +318,9 @@
4     int
5     SplashDecodeGifStream(Splash * splash, SplashStream * stream)
6     {
7     - GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc);
8     + int ErrorCode;
9     +
10     + GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &ErrorCode);
11    
12     if (!gif)
13     return 0;