diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
commit | c905c203db0c9756a47ecca2243013bfa462026d (patch) | |
tree | 07ffa1194a060dd6c8f50a2046c9b422bc054830 /mail/spamprobe | |
parent | f44de4a8d49fd8ce374780f235c163a9d3d9cd1a (diff) | |
download | ports-c905c203db0c9756a47ecca2243013bfa462026d.tar.gz ports-c905c203db0c9756a47ecca2243013bfa462026d.zip |
Notes
Diffstat (limited to 'mail/spamprobe')
-rw-r--r-- | mail/spamprobe/files/patch-src_parser_GifParser.cc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/spamprobe/files/patch-src_parser_GifParser.cc b/mail/spamprobe/files/patch-src_parser_GifParser.cc index 90198360f527..5fc65dac2773 100644 --- a/mail/spamprobe/files/patch-src_parser_GifParser.cc +++ b/mail/spamprobe/files/patch-src_parser_GifParser.cc @@ -1,6 +1,18 @@ --- src/parser/GifParser.cc.orig 2006-11-17 07:24:49 UTC +++ src/parser/GifParser.cc -@@ -99,7 +99,11 @@ bool GifParser::parseImage() +@@ -81,7 +81,11 @@ GifParser::GifParser(Message *message, + GifParser::~GifParser() + { + if (m_gif) { ++#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 ++ DGifCloseFile(m_gif, NULL); ++#else + DGifCloseFile(m_gif); ++#endif + } + } + +@@ -99,7 +103,11 @@ bool GifParser::parseImage() void GifParser::openImage() { m_nextByteIndex = 0; |