Remove debugging information, apply patch.