You can’t attach a patch on an issue on GitHub. Instead, it seems you have to use this :
Well… Copy-pasting ain’t a way to issue a patch. So I made a little script to upload files on my server. You can download it here:
It uses some other commands from the SUnix repository. Though it should be easy to adapt it without them.