gnupatch

Apply a set of diffs to a source tree.

Contributed by
Larry Philps
Obtained from
ftp.uu.net:/packages/gnu/patch-2.1.tar.gz
Restrictions
GNU CopyLeft
Description
Patch will take a patch file containing any of the four forms of difference listing produced by the diff program and apply those differences to an original file, producing a patched version.

This version of the program understands the GNU unified diff format. The original versions of files that are modified are left with .orig extensions. If any of the patches in a diff will not apply, those patchs are left in a file with the same basename, but with a .reg extension.

Productivity
Everybody on the net distributed updates in patch format.
Safety
This program is used by everyone everywhere.
Work Planned
None.
Documentation
Man page.
Verification
Make 2 copies of a file, and change on slightly. diff the 2 copies to produce a diff file. Then run patch originalFile diffOutput.


Note that all this source is configured to be installed under /usr/skunk. To build it for a different location, compile with make CTRBDESTDIR=directory.