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