this backports https://github.com/msys2/MINGW-packages/blob/d8414ad1842901eacfdb580acc3c25c118ca82f9/mingw-w64-python/0050-use-gnu_printf-in-format.patch from our Python 3 package, to use printf instead of gnu_printf which clang doesn't support. as pointed out here: https://github.com/mesonbuild/meson/pull/11530#issuecomment-1532351609 ..and some more clang build fixes