It seems that your mail client wrapped lines, which makes the patch inapplicable.
Also, could you either send the output of ‘git format-patch’ as an attachment, or send it directly with ‘git send-email’? (Currently it doesn’t work as expected if I pipe the message to ‘git am’, for some reason.) Thanks, Ludo’.