What The Patch!? is a library for both parsing and applying patch files.