aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gnash/files/patch-libbase_GnashImageGif.cpp
blob: 1ee0ce2fc088b4602678f37a52f40bdc74084cec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);