mirror of
https://abf.rosa.ru/djam/java-1.8.0-openjdk.git
synced 2025-04-19 15:04:15 +00:00
15 lines
573 B
Diff
15 lines
573 B
Diff
diff -Naur jdk8.orig/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c
|
|
--- jdk8.orig/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2014-06-02 17:38:17.544451940 +0400
|
|
+++ jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2014-06-02 17:44:24.887734150 +0400
|
|
@@ -310,7 +310,11 @@
|
|
free(pBitmapBits);
|
|
free(pOldBitmapBits);
|
|
|
|
+#if GIFLIB_MAJOR * 100 + GIFLIB_MINOR >= 501
|
|
+ DGifCloseFile(gif, NULL);
|
|
+#else
|
|
DGifCloseFile(gif);
|
|
+#fi
|
|
|
|
return 1;
|
|
}
|