As others have noted, you need to provide a diff that someone can quickly apply with patch -p0 or equivalent after dropping your diff into the root of the source tree (make it as easy as possible).
That being said, even though it wasn't in the correct format, your changes weren't all that...