[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Patch: shel_write() did not call the PureC patcher
=?ISO-8859-1?Q?Vincent_Rivi=E8re?= 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 file.
Patch has no problem finding the file.
-p1 gives:
#patch -p1 <pc.patch
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 -x CVS -aurN freemint.orig/sys/k_exec.c freemint/sys/k_exec.c
|--- 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
--------------------------
File to patch: k_exec.c
patching file k_exec.c
Reversed (or previously applied) patch detected! Assume -R? [n]
-Helmut