also apply all the patches to the repo directly
adjust build_patch.sh to work with git and the proper revision, rather than svn