diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-02 23:23:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-02 23:23:40 +0100 |
commit | f20958f66a5e97c92cc44354e07e3e3089dfc23d (patch) | |
tree | fbf2993fb14c0f373d35922030b711e3fda4f864 /app-emulation/wine-proton/files | |
parent | e805507c58bab294dddb75f6fc9b551d9d92de86 (diff) |
gentoo auto-resync : 02:05:2023 - 23:23:39
Diffstat (limited to 'app-emulation/wine-proton/files')
-rw-r--r-- | app-emulation/wine-proton/files/wine-proton-7.0.6-mingw64-11.0.0.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emulation/wine-proton/files/wine-proton-7.0.6-mingw64-11.0.0.patch b/app-emulation/wine-proton/files/wine-proton-7.0.6-mingw64-11.0.0.patch new file mode 100644 index 000000000000..54ecc49c7235 --- /dev/null +++ b/app-emulation/wine-proton/files/wine-proton-7.0.6-mingw64-11.0.0.patch @@ -0,0 +1,20 @@ +Hack: this does not actually need stdarg.h, but including it ensures +that _mingw.h will be loaded before the rest of Wine's winnt.h avoiding +issues with mingw64-runtime-11.0.0, e.g.: + + _mingw.h:602:60: error: redefinition of ‘__fastfail’ + make[1]: *** [Makefile:5900: dlls/advapi32/crypt_des.cross.o] Error 1 + +(other crypt_*.c happen to include stdarg.h first and don't fail, but this +one does not, same for several other files in dlls/) + +Not an issue with non-proton Wine 7.0 as Wine did not define __fastfail +until ~wine-7.10. Wine 8 does define it but does not seem to be a problem +there (perhaps due to different header layout). A more "right" fix would +be welcome, but given Proton-7 seems EOL it is not judged important. +--- a/include/winnt.h ++++ b/include/winnt.h +@@ -32,2 +32,3 @@ + #include <string.h> ++#include <stdarg.h> + #endif |