Installing Patch-2.5.4

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

Contents of Patch

(Last checked against version 2.5.4.)

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.

Patch installs the following:

Patch Installation Dependencies

(Last checked against version 2.5.4.)

Bash: sh
Binutils: as, ld
Coreutils: cat, chmod, echo, expr, hostname, install, mv, rm, tr, uname
Diffutils: cmp
GCC: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, grep
Make: make
Sed: sed

Installation of Patch

Prepare Patch to be compiled:

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