From 8f884be2a9f0580168481d78abdac282df07e1d602a2a2f8c3264e31081ec27a Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 7 Oct 2024 00:26:44 +0200 Subject: [PATCH] Fix build errors in mingw packages with-msvcrt needs to be applied consistently between mingw-runtime and mingw-headers. --- mingw32-headers.changes | 8 ++++++++ mingw32-headers.spec | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mingw32-headers.changes b/mingw32-headers.changes index 6d61934..e7228f6 100644 --- a/mingw32-headers.changes +++ b/mingw32-headers.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 6 22:13:26 UTC 2024 - Ralf Habacker + +- Fixes build errors in other packages due to undefined + references of "_imp____sys_nerr" and others caused by + this package not being synchronized with the mingw32-runtime + package (--with-default-msvcrt=msvcrt must be used). + ------------------------------------------------------------------- Wed Aug 28 10:45:16 UTC 2024 - Jan Engelhardt diff --git a/mingw32-headers.spec b/mingw32-headers.spec index 0f95d3f..e8a2fa5 100644 --- a/mingw32-headers.spec +++ b/mingw32-headers.spec @@ -56,7 +56,8 @@ an actual pthread implementation (like winpthreads) is installed. %build %_mingw32_configure \ --enable-sdk=all \ - --enable-secure-api + --enable-secure-api \ + --with-default-msvcrt=msvcrt %make_build %install