5.26. Patch-2.5.9

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: less than 0.1 SBU
Required disk space: 1.9 MB

5.26.1. Installation of Patch

Apply a patch that fixes a bug whereby patch fails to apply patches whose lines contain trailing carriage return characters:

patch -Np1 -i ../patch-2.5.9-fixes-1.patch

Prepare Patch for compilation:

./configure --prefix=/tools

Compile the package:


This package does not come with a test suite.

Install the package:

make install

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