aboutsummaryrefslogtreecommitdiff
path: root/mail/spamprobe/files/patch-strings
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamprobe/files/patch-strings')
-rw-r--r--mail/spamprobe/files/patch-strings14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/spamprobe/files/patch-strings b/mail/spamprobe/files/patch-strings
new file mode 100644
index 000000000000..8d0091a4b954
--- /dev/null
+++ b/mail/spamprobe/files/patch-strings
@@ -0,0 +1,14 @@
+g++ before 3.x does not have the clear() method on strings
+
+ -mi
+
+--- HashDataFile.cc Mon Mar 28 14:58:25 2005
++++ HashDataFile.cc Wed Jun 22 17:27:02 2005
+@@ -233,5 +233,7 @@
+ m_array.reset(0, 0);
+ m_base = 0;
++#if !defined(__GNUC__) || __GNUC__ > 2
+ m_filename.clear();
++#endif
+ }
+ }