summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'mail/spamassassin/patches/patch-ag')
-rw-r--r--mail/spamassassin/patches/patch-ag17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/spamassassin/patches/patch-ag b/mail/spamassassin/patches/patch-ag
new file mode 100644
index 00000000000..1e3bc350d12
--- /dev/null
+++ b/mail/spamassassin/patches/patch-ag
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 2002/10/20 20:09:06 heinz Exp $
+
+--- lib/Mail/SpamAssassin/Dns.pm.orig Fri Oct 4 14:54:16 2002
++++ lib/Mail/SpamAssassin/Dns.pm
+@@ -389,6 +389,12 @@
+ my $objects = $rc->prepare_objects( \@msg )
+ or die "error in prepare_objects";
+ $rc->get_server_info() or die $rc->errprefix("checkit");
++
++ # 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 die "error in compute_sigs";
+