Dear Nicolas,
I'm not sure what you're doing or where exactly your patch got broken, but both "git am" as well as a manual "patch -p1" completely fail:
patching file src/common/rsl.c Hunk #1 FAILED at 1089. Hunk #2 FAILED at 1116. Hunk #3 FAILED at 1199. Hunk #4 FAILED at 1248. Hunk #5 FAILED at 1267. Hunk #6 FAILED at 1350. Hunk #7 FAILED at 1370. 7 out of 7 hunks FAILED -- saving rejects to file src/common/rsl.c.rej
To me it seems like your file contains four spaces instead of tab indentation that we use. I suggest sending mails by "git send-email" or buy git format-patch + attaching them to your mail.
Regards, Harald