Editing Patch File
If anyone has to edit the patch file, you should not being do it in an editor as this will break the binary files encapsulated in the patch.
If you have a command line handy ie. linux/*unix try using sed
utility to remove specific lines.
Props to @fooman for the tip. See his original gist
Example sed -ie '101,111d' PATCH_SUPEE-8788_CE_1.7.0.2_v1-2016-10-11-06-36-18.sh
This will delete line 101 to 111 inclusively.
Form Submission Issues.
If you are seeing the above mentioned for issue you can also you:
<?= $this->getBlockHtml('formkey'); ?>
For more information refer to this post What is getBlockHtml('formkey')?What is getBlockHtml('formkey')?