Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338924 Details for
Bug 457636
dev-java/icedtea won't build with giflib-5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Pass a pointer to an integer when using giflib5
pr1319-support_giflib_5.patch (text/plain), 900 bytes, created by
Andrew John Hughes
on 2013-02-15 00:51:36 UTC
(
hide
)
Description:
Pass a pointer to an integer when using giflib5
Filename:
MIME Type:
Creator:
Andrew John Hughes
Created:
2013-02-15 00:51:36 UTC
Size:
900 bytes
patch
obsolete
># HG changeset patch ># User andrew ># Date 1360886106 0 ># Node ID fd2187713a998a312ee76405f58df3719ec04db1 ># Parent bbfd732ae37d02301b065722f9c7a930118adde3 >PR1319: Support building with giflib 5 > >diff --git a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c b/src/share/native/sun/awt/splashscreen/splashscreen_gif.c >--- openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c >+++ openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c >@@ -316,9 +316,18 @@ > int > SplashDecodeGifStream(Splash * splash, SplashStream * stream) > { >+#ifdef GIFLIB_MAJOR >= 5 >+ int error = 0; >+ GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &error); >+ >+ if (error) >+ return 0; >+#else > GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc); > > if (!gif) > return 0; >+#endif >+ > return SplashDecodeGif(splash, gif); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 457636
: 338924