How to patch module files with netbeans 7.4?
If you duplicate the file in Netbeans that gets patched (this is important that you do this on the file, NOT the project) then right click on it under Tools -> Apply Diff Patch then select your patch file. It should then say everything went as planned and allow you a summary.

You will need to repeat this for every file in the patch, or you can just apply it using Git or one of the other methods listed.