aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-11-13 00:28:24 +0800
committerantoine <antoine@FreeBSD.org>2015-11-13 00:28:24 +0800
commit9a5e28dc5d4711bd8eebd19daa9743b83b9f8704 (patch)
tree43e3cb0a38fe7d9eb2284958fb83a881ae4b6908
parent8e1bdce911597e0211fc40f3ad1b70eb39fa8f4d (diff)
downloadfreebsd-ports-graphics-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.tar.gz
freebsd-ports-graphics-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.tar.zst
freebsd-ports-graphics-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.zip
Fix previous patch in the case mmap is enabled during configure
-rw-r--r--emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c b/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c
index f10b21538cc..c7552a809fe 100644
--- a/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c
+++ b/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c
@@ -41,7 +41,7 @@
EGifPutImageDesc(gifdrv_memmap_fd, 0, 0, x_size, y_size, 0, NULL) == GIF_ERROR)
{
+#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5
-+ EGifCloseFile(gifdrv_memmap_fd);
++ EGifCloseFile(gifdrv_memmap_fd, NULL);
+#else
EGifCloseFile(gifdrv_memmap_fd);
+#endif