> Save a patch to some file, e.g. 0.patch, then cd to a 
> directory where amavisd is located, and apply the patch with 
> a 'patch' command, feeding 0.patch on stdin to it, e.g.:
> 
>  cd /usr/local/sbin
>  #have 0.patch ready in this directory
>  patch < 0.patch

Mark your very clear.. bu I get:

# patch < 0.patch
patching file amavisd
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file amavisd.rej
missing header for unified diff at line 16 of patch
can't find file to patch at input line 16
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|       alarm($dt);
|       do_log(5,"timer set to %d s for SA (was %d s)",
$dt,$remaining_time);
|-      my($mail_obj); my($sa_version) = $self->sa_version;
|+      my($sa_version) = $self->sa_version;
|       do_log(5,"calling SA parse, SA version %s", $sa_version);
|       # *** note that $sa_version could be 3.0.1, which is not really
numeric!
--------------------------
File to patch: 


It seems that there is an error in the patch..

rocsca

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to