]> git.pld-linux.org Git - packages/icedtea7.git/commitdiff
- fix building with giflib 5.1 auto/th/icedtea7-2.5.3-4
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Oct 2014 07:19:27 +0000 (08:19 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 29 Oct 2014 07:19:27 +0000 (08:19 +0100)
- rel 4

icedtea7-giflib.patch [new file with mode: 0644]
icedtea7.spec

diff --git a/icedtea7-giflib.patch b/icedtea7-giflib.patch
new file mode 100644 (file)
index 0000000..59ad376
--- /dev/null
@@ -0,0 +1,14 @@
+--- openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c~       2014-10-02 04:17:19.000000000 +0200
++++ openjdk/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c        2014-10-29 00:23:14.428883127 +0100
+@@ -310,7 +310,10 @@
+     free(pBitmapBits);
+     free(pOldBitmapBits);
+-    DGifCloseFile(gif);
++    {
++    int error = 0;
++    DGifCloseFile(gif, &error);
++    }
+     return 1;
+ }
index e844619f2c7308f22b6e19b2bd0c3573f9bb4ba7..a14ea9a043525938f6808817a94ef6a9621726ea 100644 (file)
@@ -28,7 +28,7 @@ Summary:      OpenJDK and GNU Classpath code
 Summary(pl.UTF-8):     Kod OpenJDK i GNU Classpath
 Name:          icedtea7
 Version:       2.5.3
-Release:       3
+Release:       4
 License:       GPL v2
 Group:         Development/Languages/Java
 Source0:       http://icedtea.wildebeest.org/download/source/icedtea-%{version}.tar.gz
@@ -51,6 +51,7 @@ Source10:     make-cacerts.sh
 # 0-99 patches for the IcedTea files
 # 100-... patches applied to the extracted sources
 Patch100:      %{name}-libpath.patch
+Patch101:      %{name}-giflib.patch
 URL:           http://icedtea.classpath.org/wiki/Main_Page
 BuildRequires: alsa-lib-devel
 BuildRequires: ant
@@ -62,7 +63,7 @@ BuildRequires:        cups-devel
 BuildRequires: /usr/bin/jar
 BuildRequires: freetype-devel >= 2.3
 BuildRequires: gawk
-BuildRequires: giflib-devel
+BuildRequires: giflib-devel >= 5.1
 BuildRequires: glib2-devel
 BuildRequires: glibc-misc
 BuildRequires: gtk+2-devel
@@ -406,6 +407,7 @@ Przykłady dla OpenJDK.
 # patches to applied to the extracted sources
 install -d pld-patches
 cp -p %{PATCH100} pld-patches
+cp -p %{PATCH101} pld-patches
 
 # let the build system extract the sources where it wants them
 install -d drops
This page took 0.072249 seconds and 4 git commands to generate.