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

6.51.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.51.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.

mirror server hosted at Truenetwork, Russian Federation.