Linux From Scratch - Version SVN-20180303

Chapter 5. Constructing a Temporary System

5.28. Patch-2.7.6

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.2 SBU

Required disk space:12 MB

5.28.1. Installation of Patch

Prepare Patch for compilation:

./configure --prefix=/tools

Compile the package:

make

Compilation is now complete. As discussed earlier, running the test
suite is not mandatory for the temporary tools here in this
chapter. To run the Patch test suite anyway, issue the following
command: