Hi Tom,
Content-Type: text/x-patch; name=0001-XONXOFF-reversion.patch Content-Transfer-Encoding: base64
Apparently gmail's encoding .patch files as base64. It should be text/plain. Please try renaming it to, e.g., 0001-XONXOFF-reversion.diff and try again. --Juan