--- /dev/null
+--- 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;
+ }
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
# 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
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
# 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