How do I upgrade the patch utility?
I am facing problems when I apply patch as follows.
patch -p6 < ../kernelpatchXXXX
New directories and files are getting created instead of modifying the existing files.
The patch version I use is as follows.
:~$ patch -v patch 2.6 Copyright (C) 1988 Larry Wall Copyright (C) 2003 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. written by Larry Wall and Paul Eggert
I checked the Patch's GNU site and found there is a stable release version 2.7
Can someone help me upgrade?