Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 16:58:51 +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: r375636 - head/graphics/metapixel/files
Message-ID:  <201412261658.sBQGwpsD005858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Dec 26 16:58:50 2014
New Revision: 375636
URL: https://svnweb.freebsd.org/changeset/ports/375636
QAT: https://qat.redports.org/buildarchive/r375636/

Log:
  Allow building with either giflib 4.2 or 5.0

Added:
  head/graphics/metapixel/files/patch-rwimg_rwgif.c   (contents, props changed)

Added: head/graphics/metapixel/files/patch-rwimg_rwgif.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/metapixel/files/patch-rwimg_rwgif.c	Fri Dec 26 16:58:50 2014	(r375636)
@@ -0,0 +1,14 @@
+--- rwimg/rwgif.c.orig	2006-12-10 17:59:54 UTC
++++ rwimg/rwgif.c
+@@ -54,7 +54,11 @@ open_gif_file (const char *filename, int
+     
+     assert(data != 0);
+     
++#if GIFLIB_MAJOR >= 5
++    data->file = DGifOpenFileName(filename, NULL);
++#else
+     data->file = DGifOpenFileName(filename);
++#endif
+     
+     assert(data->file !=0);
+         



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