Update giflib patch

This commit is contained in:
Denis Silakov 2014-06-03 10:51:35 +04:00
parent 4fc1494134
commit ae1fafae8d

View file

@ -1,15 +1,12 @@
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 @@
--- jdk8.orig/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2014-06-03 10:43:23.974016819 +0400
+++ jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2014-06-03 10:50:46.133994749 +0400
@@ -310,7 +310,7 @@
free(pBitmapBits);
free(pOldBitmapBits);
+#if GIFLIB_MAJOR * 100 + GIFLIB_MINOR >= 501
- DGifCloseFile(gif);
+ DGifCloseFile(gif, NULL);
+#else
DGifCloseFile(gif);
+#endif
return 1;
}