Installing Patch-2.5.4

The Patch package contains a program for modifying files.

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=/usr

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

Compile the package:

make

And install it:

make install

Contents of Patch

Installed program: patch

Short description

patch modifies files according to a patch file. A patch file normally is a difference listing created with the diff program. By applying these differences to the original files, patch creates the patched versions. Using patches instead a entire new tarballs to keep your sources up-to-date can save you a lot of download time.