5.24. Patch-2.5.4

The Patch package contains a program for modifying or creating files by applying a “patch” file typically created by the diff program.

Approximate build time: 0.1 SBU
Required disk space: 1.5 MB
Installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, and Sed

5.24.1. 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. It can be left out on other architectures.

Compile the package:

make

This package does not come with a test suite.

Install the package:

make install

Details on this package are located in Section 6.51.2, “Contents of Patch.”