From 40a0bb7c1280dd1f796b15247076ec9250c74c639f22e615a02a3a45d3d10215 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 9 Feb 2025 17:23:22 +0100 Subject: [PATCH] mingw-w64 12.0.0 --- ...v11.0.1-fix-undefined-interface-type.patch | 14 +++++++ mingw-w64-v11.0.1.tar.bz2 | 3 -- mingw-w64-v12.0.0.tar.bz2 | 3 ++ mingw64-headers.changes | 37 +++++++++++++++++-- mingw64-headers.spec | 11 +++--- 5 files changed, 56 insertions(+), 12 deletions(-) create mode 100644 mingw-w64-v11.0.1-fix-undefined-interface-type.patch delete mode 100644 mingw-w64-v11.0.1.tar.bz2 create mode 100644 mingw-w64-v12.0.0.tar.bz2 diff --git a/mingw-w64-v11.0.1-fix-undefined-interface-type.patch b/mingw-w64-v11.0.1-fix-undefined-interface-type.patch new file mode 100644 index 0000000..c46a588 --- /dev/null +++ b/mingw-w64-v11.0.1-fix-undefined-interface-type.patch @@ -0,0 +1,14 @@ +diff -ur mingw-w64-v11.0.1.orig/mingw-w64-headers/include/msxml.h mingw-w64-v11.0.1/mingw-w64-headers/include/msxml.h +--- mingw-w64-v11.0.1.orig/mingw-w64-headers/include/msxml.h 2023-04-29 11:15:30.000000000 +0200 ++++ mingw-w64-v11.0.1/mingw-w64-headers/include/msxml.h 2023-11-11 15:16:47.191637105 +0100 +@@ -820,6 +820,10 @@ + END_INTERFACE + } IXMLDOMNodeVtbl; + ++#if defined(_WIN32) && !defined(interface) ++#define interface struct ++#endif ++ + interface IXMLDOMNode { + CONST_VTBL IXMLDOMNodeVtbl* lpVtbl; + }; diff --git a/mingw-w64-v11.0.1.tar.bz2 b/mingw-w64-v11.0.1.tar.bz2 deleted file mode 100644 index db3662b..0000000 --- a/mingw-w64-v11.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f66bce069ee8bed7439a1a13da7cb91a5e67ea6170f21317ac7f5794625ee10 -size 10057401 diff --git a/mingw-w64-v12.0.0.tar.bz2 b/mingw-w64-v12.0.0.tar.bz2 new file mode 100644 index 0000000..31f35d2 --- /dev/null +++ b/mingw-w64-v12.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc41898aac4b6e8dd5cffd7331b9d9515b912df4420a3a612b5ea2955bbeed2f +size 10474283 diff --git a/mingw64-headers.changes b/mingw64-headers.changes index e739c04..36a4030 100644 --- a/mingw64-headers.changes +++ b/mingw64-headers.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Oct 7 10:21:51 UTC 2024 - Jan Engelhardt + +- Delete --enable-secure-api, this is gone since mingw 7. + +------------------------------------------------------------------- +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 + +- Update to release 12 + * C++ overloads for _strdate_s and _strtime_s, _makepath_s, + wcsncat_s. + * Updated wine header imports. + * Many other new win32 APIs. + * UCRT configurations now primarily use (faster) math functions + from UCRT, rather than libmingwex. + +------------------------------------------------------------------- +Sat Nov 11 14:18:28 UTC 2023 - Ralf Habacker + +- Added patch: + * mingw-w64-v11.0.1-fix-undefined-interface-type.patch + + fix build issue with gcc13: type 'interface' is undefined + ------------------------------------------------------------------- Fri Nov 3 12:33:16 UTC 2023 - Jan Engelhardt @@ -50,7 +81,7 @@ Thu Dec 3 12:18:00 UTC 2020 - Tobias Klausmann * DirectX SDKs are now always installed ------------------------------------------------------------------- -Sat Nov 23 14:39:08 UTC 2019 - Ismail Dönmez +Sat Nov 23 14:44:49 UTC 2019 - Ismail Dönmez - Update to new upstream release 7.0.0 * _FORTIFY_SOURCE support thanks to Christian Franke. @@ -73,7 +104,7 @@ Wed Oct 17 18:50:03 UTC 2018 - Jan Engelhardt (no longer needed; included upstream) ------------------------------------------------------------------- -Tue Nov 21 11:37:09 UTC 2017 - idonmez@suse.com +Wed Nov 22 09:46:44 UTC 2017 - idonmez@suse.com - Update to version 5.0.3 @@ -90,7 +121,7 @@ Tue Mar 28 11:40:03 UTC 2017 - idonmez@suse.com * Fix pdh.h function calls to have proper stdcall decorators. ------------------------------------------------------------------- -Sat Jan 14 20:48:23 UTC 2017 - idonmez@suse.com +Sat Jan 14 20:48:05 UTC 2017 - idonmez@suse.com - Update to version 5.0.1 diff --git a/mingw64-headers.spec b/mingw64-headers.spec index 7f4923d..cbb204d 100644 --- a/mingw64-headers.spec +++ b/mingw64-headers.spec @@ -1,7 +1,7 @@ # # spec file for package mingw64-headers # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,16 @@ Name: mingw64-headers -Version: 11.0.1 +Version: 12.0.0 Release: 0 Summary: MinGW-w64 headers for Win32 and Win64 License: SUSE-Public-Domain Group: Development/Libraries/C and C++ URL: http://mingw-w64.sf.net/ -Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%{version}.tar.bz2 +Source: http://downloads.sf.net/mingw-w64/mingw-w64-v%version.tar.bz2 Source1000: %name-rpmlintrc Patch0: mingw-w64-v9.0.0-strnlen_s.patch +Patch1: mingw-w64-v11.0.1-fix-undefined-interface-type.patch BuildRequires: mingw64-filesystem BuildRequires: xz #!BuildIgnore: post-build-checks @@ -53,9 +54,7 @@ an actual pthread implementation (like winpthreads) is installed. %autosetup -n mingw-w64-v%version/mingw-w64-headers -p2 %build -%_mingw64_configure \ - --enable-sdk=all \ - --enable-secure-api +%_mingw64_configure --enable-sdk=all --with-default-msvcrt=msvcrt %make_build %install