This has worked for me on
Edit the patch file
PATCH_SUPEE-8788_CE_188.8.131.52_v1-2016-10-11-06-36-18.sh and remove everything from line
503 to line 517516. The key here is that the line numbering remain untouched. This means that line 503 to 517516 must still be in the file but will be empty.
Failure to do so will cause the patch script to throw you an error.
The editDon't forget to make the change you removed from the patch manually in