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

8.65.1. Installation of Patch

Update helper scripts to allow compilation on loongarch:

tar xf ../config-20210826.tar.xz --strip-components=1 -C build-aux

Prepare Patch for compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

8.65.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.)