[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Patch: shel_write() did not call the PureC patcher



Jo Even Skarstein wrote:

> On Thu, 22 Mar 2012 14:45:44 +0100, Vincent Rivi=E8re  =
>
> <vincent.riviere@freesbee.fr> wrote:
>
> > Helmut Karlowski wrote:
> >> #cvs up k_exec.c
> >> #patch<pc.patch
> >
> > BTW, the header indicates:
> > --- freemint.orig/sys/k_exec.c   2011-08-11 21:34:11.000000000 +0200
> > +++ freemint/sys/k_exec.c   2012-03-20 22:35:06.926791809 +0100
> > This is the standard way to do.
> >
> > So the correct way to apply the patch is:
> >
> > cd .../freemint
> > patch -p1 <pc.patch
> >
> > In order to remove one level from the paths specified in the patch fil=
> e.
>
> I get the same error as Helmut when I check out a fresh copy and tries t=
> o  =
>
> apply the patch. Maybe I should make a new patch tonight?

It's no problem patching it in the editor, but I'd like to know what's going on here.

Maybe the hunks are too short - I guess I had something similar before.

Try diff -U 7.

-Helmut