Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 17:56:31 +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: r376977 - head/graphics/gnash/files
Message-ID:  <201501131756.t0DHuWis033161@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ 



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