summaryrefslogtreecommitdiff
path: root/mail/spamprobe/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-12-06 19:52:57 +0000
committerjoerg <joerg>2011-12-06 19:52:57 +0000
commit4356eafff3d6d5e965351592ece3be8fe270c496 (patch)
tree8c43a95481fb9ea4f9d5045b06df635b1c0f2e92 /mail/spamprobe/patches
parent01f8457b71ea250149ab799813e717c85050befd (diff)
downloadpkgsrc-4356eafff3d6d5e965351592ece3be8fe270c496.tar.gz
Fix build with newer GCC
Diffstat (limited to 'mail/spamprobe/patches')
-rw-r--r--mail/spamprobe/patches/patch-src_includes_MultiLineSubString.h12
-rw-r--r--mail/spamprobe/patches/patch-src_includes_util.h13
2 files changed, 25 insertions, 0 deletions
diff --git a/mail/spamprobe/patches/patch-src_includes_MultiLineSubString.h b/mail/spamprobe/patches/patch-src_includes_MultiLineSubString.h
new file mode 100644
index 00000000000..3d07e529467
--- /dev/null
+++ b/mail/spamprobe/patches/patch-src_includes_MultiLineSubString.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_includes_MultiLineSubString.h,v 1.1 2011/12/06 19:52:57 joerg Exp $
+
+--- src/includes/MultiLineSubString.h.orig 2011-12-06 16:26:43.000000000 +0000
++++ src/includes/MultiLineSubString.h
+@@ -32,6 +32,7 @@
+ #define _MultiLineSubString_h
+
+ #include "AbstractMultiLineString.h"
++#include <climits>
+
+ class MultiLineSubString : public AbstractMultiLineString
+ {
diff --git a/mail/spamprobe/patches/patch-src_includes_util.h b/mail/spamprobe/patches/patch-src_includes_util.h
new file mode 100644
index 00000000000..f4ef964594d
--- /dev/null
+++ b/mail/spamprobe/patches/patch-src_includes_util.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_includes_util.h,v 1.1 2011/12/06 19:52:57 joerg Exp $
+
+--- src/includes/util.h.orig 2011-12-06 16:26:03.000000000 +0000
++++ src/includes/util.h
+@@ -42,6 +42,8 @@
+ #include <cassert>
+ #include <iostream>
+ #include <cstdio>
++#include <cstdlib>
++#include <cstring>
+ #include "Ptr.h"
+ #include "Ref.h"
+