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

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

6.50.1. Installation of Patch

Prepare Patch for compilation. The preprocessor flag -D_GNU_SOURCE is only needed on the PowerPC platform. It can be left it out on other architectures:

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

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

6.50.2. Contents of Patch

Installed program: patch

Short Descriptions

patch

Modifies files according to a patch file. A patch file is normally a difference listing created with the diff program. By applying these differences to the original files, patch creates the patched versions.