/hg/icedtea7-forest/jdk: PR2225: giflib 5.1 conditional excludes...
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Tue Feb 10 16:43:44 UTC 2015
changeset 8e740701950b in /hg/icedtea7-forest/jdk
details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=8e740701950b
author: andrew
date: Tue Feb 10 16:24:28 2015 +0000
PR2225: giflib 5.1 conditional excludes 6.0, 7.0, etc.
Summary: Future-proof the giflib 5.1 support
diffstat:
src/share/native/sun/awt/splashscreen/splashscreen_gif.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f8795ed79ba6 -r 8e740701950b src/share/native/sun/awt/splashscreen/splashscreen_gif.c
--- a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Thu Feb 05 16:11:10 2015 +0000
+++ b/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Tue Feb 10 16:24:28 2015 +0000
@@ -310,7 +310,7 @@
free(pBitmapBits);
free(pOldBitmapBits);
-#if GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1
+#if GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1)
if (DGifCloseFile(gif, NULL) == GIF_ERROR)
return 0;
#else
More information about the distro-pkg-dev
mailing list