diff --git a/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch b/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch index 4ee37ff960..1ae37ff1c2 100644 --- a/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch +++ b/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch @@ -1,21 +1,5 @@ --- src/gifcodec.c +++ src/gifcodec.c -@@ -39,8 +39,15 @@ GUID gdip_gif_image_format_guid = {0xb96 - - #include "gifcodec.h" - -+#if !defined(GIFLIB_MAJOR) || GIFLIB_MAJOR < 5 - /* giflib declares this incorrectly as EgifOpen */ - extern GifFileType *EGifOpen(void *userData, OutputFunc writeFunc); -+#endif -+#if !defined(GIFLIB_MAJOR) || !(GIFLIB_MAJOR > 5 || \ -+ (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1)) -+# define DGifCloseFile(a, b) DGifCloseFile(a) -+# define EGifCloseFile(a, b) EGifCloseFile(a) -+#endif - - /* Data structure used for callback */ - typedef struct @@ -105,7 +112,7 @@ gdip_gif_inputfunc (GifFileType *gif, Gi */ diff --git a/srcpkgs/libgdiplus/template b/srcpkgs/libgdiplus/template index 75a916ffb6..86b47fe2cf 100644 --- a/srcpkgs/libgdiplus/template +++ b/srcpkgs/libgdiplus/template @@ -1,6 +1,6 @@ # Template file for 'libgdiplus' pkgname=libgdiplus -version=3.8 +version=3.12 revision=1 build_style=gnu-configure configure_args="--with-cairo=system" @@ -11,7 +11,7 @@ maintainer="Juan RP " homepage="http://www.go-mono.org" license="LGPL-2, MPL" distfiles="http://download.mono-project.com/sources/${pkgname}/$pkgname-$version.tar.gz" -checksum=6a3cfb4a1b67dd09197c385bacb8654f8d7ff49499f39c57825e1a8f77e69b28 +checksum=e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9 libgdiplus-devel_package() { short_desc+=" - development files"