http://bugzilla.spamassassin.org/show_bug.cgi?id=3981





------- Additional Comments From [EMAIL PROTECTED]  2004-12-07 12:40 -------
> How do I use the patch file?  If you can provide a simple commandline

Assuming that you have patch installed on your system (which I think does come
with FreeBSD):

Download the attachment in bug 3983 into a file, for example, 
/home/brian/patchfile.

cd to the SpamAssassin source directory immediately above the
lib/Mail/SpamAssassin tree. If you are using svn, update the 3.0 branch (which
is post 3.0.1). I tested that the patch applies cleanly to the latest branch 3.0
svn. I only guess that it will apply cleanly to the 3.0.1 release sources.

Use the command

 patch -p0 < /home/brian/patchfile

Here is what it looked like on my system, including updating the branch from svn
before I applied the patch (which is an optional step for you):

[EMAIL PROTECTED] /c/sasvn/b3_0
$ cd /c/sasvn/b3_0/

[EMAIL PROTECTED] /c/sasvn/b3_0
$ ls -F
BUGS           Makefile.PL   blib/       procmailrc.example  spamc/
CREDITS        Makefile.old  build/      rules/              spamd/
Changes        NOTICE        contrib/    sa-learn            sql/
INSTALL        PACKAGING     debian/     sa-learn.raw        t/
INSTALL.VMS    README        ldap/       sample-nonspam.txt  tools/
LICENSE        STATUS        lib/        sample-spam.txt
MANIFEST       TRADEMARK     lm/         spamassassin
MANIFEST.SKIP  UPGRADE       masses/     spamassassin.raw
Makefile       USAGE         pm_to_blib  spamassassin.spec

[EMAIL PROTECTED] /c/sasvn/b3_0
$ svn update
At revision 110406.

[EMAIL PROTECTED] /c/sasvn/b3_0
$ patch -p0 < /c/temp/preforkingpatch
patching file MANIFEST
Hunk #1 succeeded at 71 (offset 19 lines).
patching file lib/Mail/SpamAssassin/SubProcBackChannel.pm
patching file lib/Mail/SpamAssassin/SpamdForkScaling.pm
patching file spamd/spamd.raw
Hunk #1 succeeded at 38 (offset -1 lines).
Hunk #2 succeeded at 83 (offset -1 lines).
Hunk #4 succeeded at 164 (offset 1 line).
Hunk #5 succeeded at 530 (offset 1 line).
Hunk #6 succeeded at 602 (offset 1 line).
Hunk #7 succeeded at 822 with fuzz 1 (offset 22 lines).
Hunk #8 succeeded at 860 (offset 22 lines).
Hunk #9 succeeded at 890 (offset 22 lines).
Hunk #10 succeeded at 899 (offset 22 lines).
Hunk #11 succeeded at 915 (offset 22 lines).
Hunk #18 succeeded at 2326 (offset -8 lines).




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to