.patch files contain the differences between two versions of text files (usually source codes).
They can be generated with the "diff" program and applied with the "patch" program.
All the boring details are
here.
You basically have to get the common source code, then apply the .patch file to produce the patched sourcecode, and then compile a new QVM from that.