[meta-mingw] [PATCH 1/3] mingw-w64: upgrade 12.0.0 -> 13.0.0

Ross Burton <[email protected]> Fri, 31 Jul 2026 16:56:02 +0100
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
Notable changes:

- Added import libraries for msvcr40d.dll, msvcrtd.dll, msvcr70d.dll,
  msvcr71d.dll, msvcr80d.dll, msvcr100d.dll, msvcr110d.dll.
- Better CRT API consistency between UCRT and MSVCRT, making many APIs
  available to earlier versions of the MSVCR* runtime as well.
- CRTDLL stat API fixes.
- Updated Hyper-V headers.
- Synchronized with Wine headers (from Wine 10.9).
- Many other new win32 APIs.
- Fix _atexit call differing between DLLs and EXEs.
- Basic support for ARM64EC targets (arm64ec-w64-mingw32).
- Make it possible to build winpthreads with MSVC and clang-cl.
- Many small fixes for gendef, genidl and genpeimg.

Signed-off-by: Ross Burton <[email protected]>
---
 recipes-devtools/mingw-w64/mingw-w64.inc                        | 2 +-
 ...-headers_12.0.0.bb =3D> nativesdk-mingw-w64-headers_13.0.0.bb} | 0
 ...-runtime_12.0.0.bb =3D> nativesdk-mingw-w64-runtime_13.0.0.bb} | 0
 ...eads_12.0.0.bb =3D> nativesdk-mingw-w64-winpthreads_13.0.0.bb} | 0
 4 files changed, 1 insertion(+), 1 deletion(-)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_12.0.0.bb=
 =3D> nativesdk-mingw-w64-headers_13.0.0.bb} (100%)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_12.0.0.bb=
 =3D> nativesdk-mingw-w64-runtime_13.0.0.bb} (100%)
 rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-winpthreads_12.0.=
0.bb =3D> nativesdk-mingw-w64-winpthreads_13.0.0.bb} (100%)

diff --git a/recipes-devtools/mingw-w64/mingw-w64.inc b/recipes-devtools/=
mingw-w64/mingw-w64.inc
index a24e96c..46d28af 100644
--- a/recipes-devtools/mingw-w64/mingw-w64.inc
+++ b/recipes-devtools/mingw-w64/mingw-w64.inc
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM =3D "file://${UNPACKDIR}/mingw-w64-v${PV=
}/COPYING;md5=3Dbb936f0e04d
 COMPATIBLE_HOST =3D ".*-mingw.*"
=20
 SRC_URI =3D "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64=
-release/mingw-w64-v${PV}.tar.bz2"
-SRC_URI[sha256sum] =3D "cc41898aac4b6e8dd5cffd7331b9d9515b912df4420a3a61=
2b5ea2955bbeed2f"
+SRC_URI[sha256sum] =3D "5afe822af5c4edbf67daaf45eec61d538f49eef6b19524de=
64897c6b95828caf"
=20
 UPSTREAM_CHECK_URI =3D "http://sourceforge.net/projects/mingw-w64/files/=
mingw-w64/mingw-w64-release/"
 UPSTREAM_CHECK_REGEX =3D "mingw-w64-v(?P<pver>(\d+[\.\-_]*)+)\.tar"
diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_12.0.=
0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_13.0.0.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_12.0.0=
.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_13.0.0.b=
b
diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_12.0.=
0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_13.0.0.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_12.0.0=
.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_13.0.0.b=
b
diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_1=
2.0.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_13.=
0.0.bb
similarity index 100%
rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_12=
.0.0.bb
rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_13.0=
.0.bb
--=20
2.43.0