I'm having trouble applying this patch (and the one that was posted for 
NoMailAudit.pm for that matter).  In both cases, I use:

patch -pX -b --verbose <{patch_name}

(X varies of course depending on the patch)

and in each case the output is like below, what am I doing wrong?

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- lib/Mail/SpamAssassin/Dns.pm        3 Jan 2002 02:14:09 -0000       1.29
|+++ lib/Mail/SpamAssassin/Dns.pm        4 Mar 2002 18:16:01 -0000       1.30
--------------------------
Patching file Dns.pm using Plan A...
Hunk #1 FAILED at 176.
1 out of 1 hunk FAILED -- saving rejects to file Dns.pm.rej
done


Craig R Hughes wrote:
> It's apparently due to a bug in Razor that was fixed in 1.20 which broke a
> workaround in SA.  To fix, you need to apply the following patch to SA 2.11.
> I'd advise against getting the CVS version right now unless you like living very
> much on the edge.  A couple experimental changes went in in the last day or so.
> 
> C
> 
> --- lib/Mail/SpamAssassin/Dns.pm        3 Jan 2002 02:14:09 -0000       1.29
> +++ lib/Mail/SpamAssassin/Dns.pm        4 Mar 2002 18:16:01 -0000       1.30
> @@ -176,7 +176,6 @@
>      require Razor::Client;
>      require Razor::Agent;
>      local ($^W) = 0;           # argh, warnings in Razor
> -    local ($/);                        # argh, bugs in Razor
> 
>      local $SIG{ALRM} = sub { die "alarm\n" };
>      alarm 10;
> 
> 
> Jeff Bacon wrote:
> 
> 
>>Date: Wed, 06 Mar 2002 09:56:36 -0500
>>From: Jeff Bacon <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: [SAtalk] Razor::Client
>>
>>I have installed Spamassassin and Razor::Client but Spamassassin says it
>>cannot find Razor::Client.  If I put "use Razor::Client;" in a perl
>>script or compiles/runs fine so it is in my @INC.  What do I need to do
>>to have Spamassassin find it?
>>
>>Jeff
>>
>>
>>_______________________________________________
>>Spamassassin-talk mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>>
>>
>>
>>
> 
> 
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 


-- 
================================
Jeffrey Bacon
================================
Administrator,   Breakfast.ca
Student,         Carleton U.
Java Programmer, Extrordinaire!
--------------------------------
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to