svn commit: r375636 - head/graphics/metapixel/files

Antoine Brodin antoine at FreeBSD.org
Fri Dec 26 16:58:51 UTC 2014


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);
+         


More information about the svn-ports-head mailing list