diff options
author | antoine <antoine@FreeBSD.org> | 2015-11-13 00:28:24 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2015-11-13 00:28:24 +0800 |
commit | 9a5e28dc5d4711bd8eebd19daa9743b83b9f8704 (patch) | |
tree | 43e3cb0a38fe7d9eb2284958fb83a881ae4b6908 /emulators | |
parent | 8e1bdce911597e0211fc40f3ad1b70eb39fa8f4d (diff) | |
download | freebsd-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
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c | 2 |
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 |