repkg: Allow patching man pages
The trouble with man pages is that they are often gzipped, so a simple apply
won't work there.
One possible approach would be to decompress the file to a temporary location, apply the patch there, and then copy the file back.
This could probably even be generalised for patching all the files, as it adds some amount of "safety net" around the patching process.