summarylogtreecommitdiffstats
path: root/spamprobe-giflib.patch
diff options
context:
space:
mode:
authorGeert Hendrickx2018-08-20 10:06:37 +0200
committerGeert Hendrickx2018-08-20 10:06:37 +0200
commit804cfdb42339cc68cbac9d1df8085dd74c1ab9b3 (patch)
tree1678b970fc452ab3ba82716d211850b09ecd2b52 /spamprobe-giflib.patch
downloadaur-804cfdb42339cc68cbac9d1df8085dd74c1ab9b3.tar.gz
Spamprobe, a bayesian spam filter
Diffstat (limited to 'spamprobe-giflib.patch')
-rw-r--r--spamprobe-giflib.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/spamprobe-giflib.patch b/spamprobe-giflib.patch
new file mode 100644
index 00000000000..234bd590155
--- /dev/null
+++ b/spamprobe-giflib.patch
@@ -0,0 +1,20 @@
+--- src/parser/GifParser.cc 2006-11-17 08:24:49.000000000 +0100
++++ src/parser/GifParser.cc 2014-07-31 09:23:19.372474921 +0200
+@@ -81,7 +81,7 @@
+ GifParser::~GifParser()
+ {
+ if (m_gif) {
+- DGifCloseFile(m_gif);
++ DGifCloseFile(m_gif, NULL);
+ }
+ }
+
+@@ -99,7 +99,7 @@
+ void GifParser::openImage()
+ {
+ m_nextByteIndex = 0;
+- m_gif = DGifOpen(this, readFromBuffer);
++ m_gif = DGifOpen(this, readFromBuffer, NULL);
+ if (!m_gif) {
+ throw runtime_error("open gif failed");
+ }