Apply changes from patch file