Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 16:28:24 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401364 - head/emulators/vice/files
Message-ID:  <201511121628.tACGSOBs086493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Nov 12 16:28:24 2015
New Revision: 401364
URL: https://svnweb.freebsd.org/changeset/ports/401364

Log:
  Fix previous patch in the case mmap is enabled during configure

Modified:
  head/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c

Modified: head/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c
==============================================================================
--- head/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c	Thu Nov 12 16:23:10 2015	(r401363)
+++ head/emulators/vice/files/patch-src_gfxoutputdrv_gifdrv.c	Thu Nov 12 16:28:24 2015	(r401364)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511121628.tACGSOBs086493>