You can find a range of solutions for common patching problems here.