From StackOverflow:
You may have a .patch that you would like it to be reverted - not apply reverted, but to create a new patch with the reverted diff.
The interdiff shows differences between two diff files. From the docs:
To reverse a patch, use /dev/null for diff2.
interdiff -q file.patch /dev/null > reversed.patch