The Patch package contains a program for modifying or creating files by applying a “patch” file typically created by the diff program.
User Notes: http://wiki.linuxfromscratch.org/hlfs/wiki/patch
This patch is from Patch-cvs, and fixes a bug with how CR characters are handled, for dos2unix compatability. Apply this patch with the following command:
patch -Np1 -i ../patch-2.5.9-fixes-1.patch
Apply this patch to add the use of the mkstemp(3) function:
patch -Np1 -i ../patch-2.5.9-mkstemp-1.patch
Prepare Patch for compilation.
./configure --prefix=/usr
Compile the package:
make
This package does not come with a test suite.
Install the package:
make install