Richard Adams wrote:
>
> On Sun, 02 Apr 2000, Erik Jakobsen wrote about, Re: Works.:
>
> > > The reason it does not work properly is because the patch file is not made
> > > in a conventional way, the directory name is different to yours, this is
> > > why patch has the -p option.
> >
> > Ok.
> >
> > > You are in /usr/src/ and using -p0 do;
> > > cd linux
> >
> > Did it.
> >
> > > gzip -dc /tmp/kctt/patch/kct0_02-2.2.13-patch.diff.gz | patch -p1 -s
> > >
> > > The -p strips off the amount of "/" given in this case it will interpret the
> > > command as
> > > Documentation/Configure.help
> > >
>
> > > > --------------------------
> > > > File to patch:
> > > linux/Documentation/Configure.help
> >
> > Ok now I understand a bit more as I give it a try short after the reply
> > arrived here.
> >
> >
> > > But you would need to type "every path, fully for every file to patch".
> >
> > I did it, but still having errors.
>
> Then either there is somethig wrong in the source code (ie changes) or you
> are not doing it correctly.
>
> What are the errors, and what command (syntax) did you use.
Here are what's going on:
linux:/usr/src/linux # gzip -dc
/tmp/kctt/patch/kct0_02-2.2.13-patch.diff.gz | patch -p1 --dry-run
patching file Documentation/Configure.help
Hunk #1 succeeded at 12180 (offset 390 lines).
patching file drivers/char/Config.in
Hunk #1 succeeded at 202 (offset 3 lines).
patching file drivers/char/Makefile
patching file drivers/char/kctt.c
patching file drivers/char/mem.c
Hunk #1 succeeded at 41 (offset 1 line).
Hunk #2 succeeded at 671 (offset -13 lines).
patching file include/linux/kctt.h
linux:/usr/src/linux #
The --dry-run was and idea I got from lawson.
What is this running tell you ??
> --
> Regards Richard
> [EMAIL PROTECTED]
> http://people.zeelandnet.nl/pa3gcu/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
--
Erik Jakobsen - OZ4KK - [EMAIL PROTECTED]
SuSE Linux 6.3
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs