From 817e15f2d41ff8e25422b7fe743f03a4bc26da40 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Feb 2015 11:07:49 +0100 Subject: [PATCH] libgdiplus: update to 3.12. --- .../libgdiplus/patches/libgdiplus0-giflib5.patch | 16 ---------------- srcpkgs/libgdiplus/template | 4 ++-- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch b/srcpkgs/libgdiplus/patches/libgdiplus0-giflib5.patch index 4ee37ff960e..1ae37ff1c2e 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 75a916ffb68..86b47fe2cfc 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"