Installing Patch-2.5.4

Approximate build time:  0.1 SBU
Required disk space:     1.9 MB

Official download location for Patch (2.5.4): 
ftp://ftp.gnu.org/gnu/patch/

For its installation Patch depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Sed.

Installation of Patch

Prepare Patch for compilation:

CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools

The preprocessor flag -D_GNU_SOURCE is only needed on the PowerPC platform. On other architectures you can leave it out.

Compile the program:

make

Then install it and its documentation:

make install

The details on this package are found in the Section called Contents of Patch in Chapter 6.