svn commit: r376977 - head/graphics/gnash/files
Antoine Brodin
antoine at FreeBSD.org
Tue Jan 13 17:56:32 UTC 2015
Author: antoine
Date: Tue Jan 13 17:56:31 2015
New Revision: 376977
URL: https://svnweb.freebsd.org/changeset/ports/376977
QAT: https://qat.redports.org/buildarchive/r376977/
Log:
Allow building with either giflib 4.2 or 5.0
Added:
head/graphics/gnash/files/patch-libbase_GnashImageGif.cpp (contents, props changed)
Added: head/graphics/gnash/files/patch-libbase_GnashImageGif.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/gnash/files/patch-libbase_GnashImageGif.cpp Tue Jan 13 17:56:31 2015 (r376977)
@@ -0,0 +1,14 @@
+--- libbase/GnashImageGif.cpp.orig 2012-01-19 19:17:48 UTC
++++ libbase/GnashImageGif.cpp
+@@ -269,7 +269,11 @@ GifInput::processRecord(GifRecordType re
+ void
+ GifInput::read()
+ {
++#if GIFLIB_MAJOR >= 5
++ _gif = DGifOpen(_inStream.get(), &readData, NULL);
++#else
+ _gif = DGifOpen(_inStream.get(), &readData);
++#endif
+
+ GifRecordType record;
+
More information about the svn-ports-head
mailing list