mirror of
https://abf.rosa.ru/djam/java-1.8.0-openjdk.git
synced 2025-04-19 06:54:18 +00:00
Added giflib-5.1 patch
This commit is contained in:
parent
d6da38a1a8
commit
0c50ecc2ad
2 changed files with 19 additions and 1 deletions
15
java-1.8.0-openjdk-gilib-5.1.patch
Normal file
15
java-1.8.0-openjdk-gilib-5.1.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
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;
|
||||
}
|
|
@ -226,6 +226,8 @@ Patch203: system-lcms.patch
|
|||
|
||||
Patch301: java-1.8.0-openjdk-giflib5.patch
|
||||
Patch302: java-1.8.0-openjdk-make-4.0.patch
|
||||
Patch303: java-1.8.0-openjdk-gilib-5.1.patch
|
||||
|
||||
|
||||
Patch999: 0001-PPC64LE-arch-support-in-openjdk-1.8.patch
|
||||
|
||||
|
@ -454,9 +456,10 @@ sh %{SOURCE12}
|
|||
%patch999 -p1
|
||||
%endif
|
||||
|
||||
# omv patches
|
||||
# omv/rosa patches
|
||||
%patch301
|
||||
%patch302 -p1
|
||||
%patch303 -p1
|
||||
|
||||
# Extract systemtap tapsets
|
||||
%if %{with_systemtap}
|
||||
|
|
Loading…
Add table
Reference in a new issue