mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Allow building with giflib >= 5.2
This commit is contained in:
parent
001a7a1252
commit
a2be68fb13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517218
1 changed files with 11 additions and 0 deletions
11
graphics/gnash/files/patch-libbase_GnashImageGif.cpp
Normal file
11
graphics/gnash/files/patch-libbase_GnashImageGif.cpp
Normal file
|
@ -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);
|
Loading…
Add table
Reference in a new issue