Apply a set of diffs to a source tree.
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.