diff options
-rw-r--r-- | graphics/gnash/files/patch-libbase_GnashImageGif.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/gnash/files/patch-libbase_GnashImageGif.cpp b/graphics/gnash/files/patch-libbase_GnashImageGif.cpp new file mode 100644 index 000000000000..1ee0ce2fc088 --- /dev/null +++ b/graphics/gnash/files/patch-libbase_GnashImageGif.cpp @@ -0,0 +1,11 @@ +--- libbase/GnashImageGif.cpp.orig 2016-07-21 12:25:09 UTC ++++ libbase/GnashImageGif.cpp +@@ -120,7 +120,7 @@ GifInput::GifInput(std::shared_ptr<IOCha + GifInput::~GifInput() + { + // Clean up allocated data. +-#if GIFLIB_MAJOR==5 && GIFLIB_MINOR==1 ++#if GIFLIB_MAJOR==5 && GIFLIB_MINOR>=1 + DGifCloseFile(_gif, 0); + #else + DGifCloseFile(_gif); |