mirror of
https://abf.rosa.ru/djam/java-1.8.0-openjdk.git
synced 2025-04-19 06:54:18 +00:00
Update giflib patch
This commit is contained in:
parent
4fc1494134
commit
ae1fafae8d
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue