Magellan Linux

Contents of /trunk/java7-openjdk/patches/java7-openjdk-7.2.2.1-giflib5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1885 - (show annotations) (download)
Sat Aug 25 13:03:00 2012 UTC (11 years, 8 months ago) by niro
File size: 534 byte(s)
-fixed FTBFS against giflib5
1 --- openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2012-06-08 15:09:13.000000000 +0200
2 +++ openjdk-magellan/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2012-08-25 16:57:21.899981001 +0200
3 @@ -316,7 +316,9 @@
4 int
5 SplashDecodeGifStream(Splash * splash, SplashStream * stream)
6 {
7 - GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc);
8 + int Error;
9 +
10 + GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &Error);
11
12 if (!gif)
13 return 0;