<< Back to man.ChinaUnix.net

5.26. Patch-2.5.4

The Patch package contains a program for modifying files.

Approximate build time: 0.1 SBU

Required disk space: 1.9 MB

Patch installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, and Sed

5.26.1. Installation of Patch

Prepare Patch for compilation:

CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools

The preprocessor flag -D_GNU_SOURCE is only needed on the PowerPC platform. It can be left out on other architectures.

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