On Mon, Jun 10, 2002 at 12:05:22AM +0200, Cedric Duval wrote...... > 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 got it from http://cedricduval.free.fr/download/index.php3. Went to the trashfolder section, hit the download link, and then copied/pasted it into a txt file. Perhaps somewhere in that process it got corrupted. > > > 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 > O.k., this time got the patch via wget as per your suggestion. Applying the patch this time around got the job done. > -- > Cedric Many thanks! Kevin -- Kevin Coyner mailto: [EMAIL PROTECTED] GnuPG key: 1024D/8CE11941
msg28795/pgp00000.pgp
Description: PGP signature