> first line of the patch contained
> diff -urN linux-2.4.18/COPYING linux-2.4.19/COPYING
This is a patch of 2.4.19 against 2.4.18 source tree.
So in order to use this patch you should have the
2.4.18 source tree from kernel.org itself.
> What I tried :
> # cd /usr/src
> #cp -rl linux-2.2.19 linux-2.4.19
> #cd linux-2.4.19
Simply calling your 2.2.19 tree 2.4.19 doesn't make it 2.4.19;-)
You should go to your distribution's site and download the source
package for kernel 2.4.19. Install it and compile the new kernel
and install the new kernel.
If you aren't so keen on compiling out your own kernels download
the binary packages of the latest kernel version from your
distributions site and install.
If you are in love with kernel.org and want to divorce your
distribution, instead of a patch download the entire source tree,
for 2.4.19, (when the 2.4.20 comes out you can download the patch
and apply it againt the 2.4.19 tree) and compile it. Remember not
getting along with a package management systems like Advanced
Package Tool (apt) can result in real hassles.
As for usage of patch refer the man page, accessible on most
GNU systems by either of the commands 'man patch' or 'info patch'.
If you want a quickie.
$ cd /usr/src/
$ ls
linux-2.4.18 linux
$ gzip -dc ~/patch-2.4.19.gz | patch -p0 -s
$
HTH,
Unni