Fixes to the patch feature, contributed by Philipp Janda
Merge branch 'master' of github.com:keplerproject/luarocks