diff --git a/graphics/gnash/files/patch-libbase_GnashImageGif.cpp b/graphics/gnash/files/patch-libbase_GnashImageGif.cpp index 1ee0ce2fc088..16925e49fe64 100644 --- a/graphics/gnash/files/patch-libbase_GnashImageGif.cpp +++ b/graphics/gnash/files/patch-libbase_GnashImageGif.cpp @@ -1,11 +1,11 @@ ---- libbase/GnashImageGif.cpp.orig 2016-07-21 12:25:09 UTC +--- libbase/GnashImageGif.cpp.orig 2019-01-30 23:45:03 UTC +++ libbase/GnashImageGif.cpp -@@ -120,7 +120,7 @@ GifInput::GifInput(std::shared_ptr=1 ++#if GIFLIB_MAJOR==5 && GIFLIB_MINOR>=1 || GIFLIB_MAJOR >= 6 DGifCloseFile(_gif, 0); #else DGifCloseFile(_gif);