libgdiplus: update to 3.12.

This commit is contained in:
Juan RP 2015-02-23 11:07:49 +01:00
parent 0431e9ae14
commit 817e15f2d4
2 changed files with 2 additions and 18 deletions

View file

@ -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
*/

View file

@ -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 <xtraeme@gmail.com>"
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"