Apply vanilla 3.10.1 patches