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/mingw32-headers.changes b/mingw32-headers.changes index 7db3d8a..3719418 100644 --- a/mingw32-headers.changes +++ b/mingw32-headers.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/mingw32-headers.spec b/mingw32-headers.spec index d29efea..cea7cec 100644 --- a/mingw32-headers.spec +++ b/mingw32-headers.spec @@ -26,6 +26,7 @@ URL: http://mingw-w64.sf.net/ 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: mingw32-filesystem BuildRequires: xz #!BuildIgnore: post-build-checks