aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
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 /emulators
parent8e1bdce911597e0211fc40f3ad1b70eb39fa8f4d (diff)
downloadfreebsd-ports-gnome-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.tar.gz
freebsd-ports-gnome-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.tar.zst
freebsd-ports-gnome-9a5e28dc5d4711bd8eebd19daa9743b83b9f8704.zip
Fix previous patch in the case mmap is enabled during configure
Diffstat (limited to 'emulators')
-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 f10b21538cc5..c7552a809fe3 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