aboutsummaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2009-10-06 14:52:01 +0000
committerStefan Walter <stefan@FreeBSD.org>2009-10-06 14:52:01 +0000
commit9d2cd5b6205861f182218f1abc7edad0854462bb (patch)
treecd70375355e4f25b7f0d559c1d200d137232d314 /mail/spamprobe
parent07b090ef99a17ac615ac92ae6f84962ae63a700d (diff)
downloadports-9d2cd5b6205861f182218f1abc7edad0854462bb.tar.gz
ports-9d2cd5b6205861f182218f1abc7edad0854462bb.zip
Notes
Diffstat (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/Makefile2
-rw-r--r--mail/spamprobe/files/patch-src_database_FrequencyCBImpl_pbl.cc21
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 5009d2ee55a3..2c612d0b194e 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -14,7 +14,7 @@
PORTNAME= spamprobe
PORTVERSION= 1.4d
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= SF
diff --git a/mail/spamprobe/files/patch-src_database_FrequencyCBImpl_pbl.cc b/mail/spamprobe/files/patch-src_database_FrequencyCBImpl_pbl.cc
new file mode 100644
index 000000000000..dcbe2d89dc87
--- /dev/null
+++ b/mail/spamprobe/files/patch-src_database_FrequencyCBImpl_pbl.cc
@@ -0,0 +1,21 @@
+--- src/database/FrequencyDBImpl_pbl.cc 2006-11-17 02:24:48.000000000 -0500
++++ src/database/FrequencyDBImpl_pbl.cc 2009-09-30 16:08:39.000000000 -0400
+@@ -45,6 +45,6 @@
+ const char *FrequencyDBImpl_pbl::SEARCH_SUFFIX("pkey");
+
+-inline int throw_on_error(const char *function_name,
+- int rc)
++inline long throw_on_error(const char *function_name,
++ long rc)
+ {
+ if (rc >= 0) {
+@@ -261,6 +261,6 @@
+ {
+ char key[BUFFER_SIZE];
+- int keylen = 0;
+- int rc = 0;
++ size_t keylen;
++ int rc;
+
+ switch (pbl_code) {
+