Patch-2.5.4
Prev | Chapter 6. Installing basic system software | Next

## 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, Sed.

### Installation of Patch

Prepare Patch for compilation (the preprocessor flag -D_GNU_SOURCE is only needed on PowerPCs, on other machines you can leave it out):

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

Compile the package:

    make

Now install it:

    make install

### Contents of Patch

Installed program: patch

### Short description

patch modifies files according to a patch file. A patch file normally is a difference listing created with the diff program. By applying these differences to the original files, patch creates the patched versions. Using patches instead of entirely new tarballs to keep your sources up-to-date can save you a lot of download time.

Prev | Up | Next
Modutils-2.4.27 | Home | Procinfo-18