6.24. Patch-2.7.1

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

6.24.1. Installation of Patch

Prepare Patch for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET}

Compile the package:


Install the package:

make install

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