summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamassassin/patches/patch-ah')
-rw-r--r--mail/spamassassin/patches/patch-ah17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/spamassassin/patches/patch-ah b/mail/spamassassin/patches/patch-ah
new file mode 100644
index 00000000000..f70ecddc3a0
--- /dev/null
+++ b/mail/spamassassin/patches/patch-ah
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.1 2002/10/20 20:09:06 heinz Exp $
+
+--- lib/Mail/SpamAssassin/Reporter.pm.orig Mon Oct 14 18:44:35 2002
++++ lib/Mail/SpamAssassin/Reporter.pm
+@@ -151,6 +151,12 @@
+ my $objects = $rc->prepare_objects( \@msg )
+ or adie ("error in prepare_objects");
+ $rc->get_server_info() or adie $rc->errprefix("reportit");
++
++ # let's reset the alarm since get_server_info() calls
++ # nextserver() which calls discover() which very likely will
++ # reset the alarm for us ... how polite. :(
++ alarm $timeout;
++
+ my $sigs = $rc->compute_sigs($objects)
+ or adie ("error in compute_sigs");
+