Updated patches for MinGW.