If you have git you can try git apply. The patch is designed for this site (moodle.org) not an ordinary moodle instance. So it may have some errors.
Unfortunately no one has been able to review the patch yet. I'll see if I can push this forward next week. (I'm currently at the AU Moot)