Kevin Coyner <[EMAIL PROTECTED]> wrote:
> I thought I'd give the trash patch a try, but being inexperienced with
> command line patches, I've run into the following error, although I
> thought I had the right syntax ....

> [kosuke@sumida mutt-1.4]$ patch -p1 < patch-1.4.trash.txt

The command is right...

> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c
> |--- mutt-1.4.orig/commands.cWed Apr  3 12:54:19 2002
> |+++ mutt-1.4/commands.cSat Jun  1 23:42:05 2002
> --------------------------

...but the patch header seems corrupted. This should look like:

   diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c
   --- mutt-1.4.orig/commands.c    Wed Apr  3 12:54:19 2002
   +++ mutt-1.4/commands.c Sat Jun  1 23:42:05 2002

In your version, tabs are missing beetween the filenames and the dates.

Where did you get it? Or, more important, how did you fetch it? Sure
enough, a check of the PGP signature should fail.

> I've got the patch (patch-1.4.trash.txt) in the same directory as the
> rest of the source files of mutt.

Ok.

> Any tips would be appreciated.

 % wget http://cedricduval.free.fr/download/mutt/patch-1.4.0.cd.edit_threads.9.2
 % wget 
http://cedricduval.free.fr/download/mutt/sign/patch-1.4.0.cd.edit_threads.9.2.asc
 % gpg --verify patch-1.4.0.cd.edit_threads.9.2.asc && cd mutt-1.4 && \
   patch -p1 < ../patch-1.4.0.cd.edit_threads.9.2

-- 
Cedric

Reply via email to