diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-12-27 08:52:27 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-12-27 08:52:27 +0000 |
commit | d5773b763795ea82fba4c0f497069b1053985ba7 (patch) | |
tree | 201dee43b3e5e2dea17dc49e43d42d171a6e0504 | |
parent | 2fde21514776e78513d45198b070f4bc5af24105 (diff) | |
download | ports-d5773b763795ea82fba4c0f497069b1053985ba7.tar.gz ports-d5773b763795ea82fba4c0f497069b1053985ba7.zip |
Notes
-rw-r--r-- | graphics/simpleviewer/files/patch-src_formats_formatgif.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/simpleviewer/files/patch-src_formats_formatgif.cpp b/graphics/simpleviewer/files/patch-src_formats_formatgif.cpp new file mode 100644 index 000000000000..046ba05d256e --- /dev/null +++ b/graphics/simpleviewer/files/patch-src_formats_formatgif.cpp @@ -0,0 +1,14 @@ +--- src/formats/formatgif.cpp.orig 2010-08-27 17:57:23 UTC ++++ src/formats/formatgif.cpp +@@ -22,7 +22,11 @@ bool CFormatGif::Load(const char* filena + } + fclose(m_file); + ++#if GIFLIB_MAJOR >= 5 ++ GifFileType* file = DGifOpenFileName(filename, NULL); ++#else + GifFileType* file = DGifOpenFileName(filename); ++#endif + if(file == 0) { + std::cout << "Error Opening GIF image" << std::endl; + return false; |