Do you still need patches based on SVN code ?
Please update from SVN to Mercurial in Documentation as Mercurial repository is up-to-date:
you can checkout the current development code from Subversion and compile yourself
This document assumes you are working with the SVN version
If you have changed existing files, create a unified diff using SVN