Linux From Scratch - Version 8.0-systemd

Chapter 6. Installing Basic System Software

6.63. Patch-2.7.5

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:11 MB

6.63.1. Installation of Patch

Prepare Patch for compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

6.63.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.]