summaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-05-25 08:04:00 +0000
committerobache <obache@pkgsrc.org>2014-05-25 08:04:00 +0000
commit2dda3d2e7cc5892a021578d58017aac43db936b3 (patch)
tree71777ded8910676313d3bf6b495626e1145f0f5e /mail/spamprobe
parent4de7fc0982e61ca4d9e455140e9c5ce33f628252 (diff)
downloadpkgsrc-2dda3d2e7cc5892a021578d58017aac43db936b3.tar.gz
Fixes build with giflib-5.1.
Diffstat (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/distinfo4
-rw-r--r--mail/spamprobe/patches/patch-src_parser_GifParser.cc13
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/spamprobe/distinfo b/mail/spamprobe/distinfo
index ecc32c085af..ffd2d7893b2 100644
--- a/mail/spamprobe/distinfo
+++ b/mail/spamprobe/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2014/01/05 00:29:35 htodd Exp $
+$NetBSD: distinfo,v 1.19 2014/05/25 08:04:00 obache Exp $
SHA1 (spamprobe-1.4d.tar.gz) = fbcd65eb21097cd860d5e5ee2c4c2524c717a237
RMD160 (spamprobe-1.4d.tar.gz) = 4a9e098b92e6900d8b03d7ed5e8d052f2b2e8c56
@@ -9,4 +9,4 @@ SHA1 (patch-src_includes_LRUCache.h) = 2e1eadf262b0de7965155c6dba794f92247397fc
SHA1 (patch-src_includes_MultiLineSubString.h) = bd6def3ef4e261ee4fe56d58447c89d7fce8e9e3
SHA1 (patch-src_includes_Ref.h) = 767c0cecc4431dc7384fc43aa4905eb148ef178e
SHA1 (patch-src_includes_util.h) = 5c7f02ac7f3852c6d751afd07df752cef7a1f06e
-SHA1 (patch-src_parser_GifParser.cc) = 0d3d44cdae38de9443f4b092ba5d82b38fb2cae3
+SHA1 (patch-src_parser_GifParser.cc) = fedb6810f6b930e9e11a3d8f3f06bd8a17ee908e
diff --git a/mail/spamprobe/patches/patch-src_parser_GifParser.cc b/mail/spamprobe/patches/patch-src_parser_GifParser.cc
index 20f397bccbe..3140b109d2a 100644
--- a/mail/spamprobe/patches/patch-src_parser_GifParser.cc
+++ b/mail/spamprobe/patches/patch-src_parser_GifParser.cc
@@ -1,7 +1,18 @@
-$NetBSD: patch-src_parser_GifParser.cc,v 1.1 2014/01/05 00:29:35 htodd Exp $
+$NetBSD: patch-src_parser_GifParser.cc,v 1.2 2014/05/25 08:04:00 obache Exp $
+
+* giflib>=5 API changes
--- src/parser/GifParser.cc.orig 2006-11-17 07:24:49.000000000 +0000
+++ src/parser/GifParser.cc
+@@ -81,7 +81,7 @@ GifParser::GifParser(Message *message,
+ GifParser::~GifParser()
+ {
+ if (m_gif) {
+- DGifCloseFile(m_gif);
++ DGifCloseFile(m_gif, NULL);
+ }
+ }
+
@@ -99,7 +99,7 @@ bool GifParser::parseImage()
void GifParser::openImage()
{