$OpenBSD: patch-libbase_GnashImageGif_cpp,v 1.2 2015/03/28 22:10:04 sthen Exp $

giflib 5.0+

--- libbase/GnashImageGif.cpp.orig	Thu Jan 19 19:17:48 2012
+++ libbase/GnashImageGif.cpp	Sat Mar 28 22:09:28 2015
@@ -121,7 +121,7 @@ GifInput::GifInput(boost::shared_ptr<IOChannel> in)
 GifInput::~GifInput()
 {
     // Clean up allocated data.
-    DGifCloseFile(_gif);
+    DGifCloseFile(_gif, NULL);
 }
 
 size_t
@@ -269,7 +269,7 @@ GifInput::processRecord(GifRecordType record)
 void
 GifInput::read()
 {
-    _gif = DGifOpen(_inStream.get(), &readData); 
+    _gif = DGifOpen(_inStream.get(), &readData, NULL); 
 
     GifRecordType record;
 
