5.27. Installing Patch-2.5.4

Estimated build time:           0.1 SBU
Estimated required disk space:  1.9 MB

5.27.1. Contents of Patch

The patch program modifies a file according to a patch file. A patch file usually is a list, created by the diff program, that contains instructions on how an original file needs to be modified.

Installed program: patch

5.27.2.

5.27.3. Patch Installation Dependencies

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

5.27.4.

5.27.5. 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