2
0

Accepting request 1125183 from home:rhabacker:branches:windows:mingw:win32:gcc13

- Added patch:
  * mingw-w64-v11.0.1-fix-undefined-interface-type.patch
    + fix build issue with gcc13: type 'interface' is undefined

OBS-URL: https://build.opensuse.org/request/show/1125183
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-headers?expand=0&rev=54
This commit is contained in:
Jan Engelhardt 2023-11-11 18:13:56 +00:00 committed by Git OBS Bridge
parent 7b2f070723
commit 06d0b80c78
3 changed files with 22 additions and 0 deletions

View File

@ -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;
};

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Nov 11 14:18:28 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>
- 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 <jengelh@inai.de> Fri Nov 3 12:33:16 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -26,6 +26,7 @@ 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 Source1000: %name-rpmlintrc
Patch0: mingw-w64-v9.0.0-strnlen_s.patch Patch0: mingw-w64-v9.0.0-strnlen_s.patch
Patch1: mingw-w64-v11.0.1-fix-undefined-interface-type.patch
BuildRequires: mingw32-filesystem BuildRequires: mingw32-filesystem
BuildRequires: xz BuildRequires: xz
#!BuildIgnore: post-build-checks #!BuildIgnore: post-build-checks