https://bugs.winehq.org/show_bug.cgi?id=51173
--- Comment #5 from fv61590@gmail.com --- (In reply to Sveinar Søpler from comment #4)
Maybe related? https://bugs.winehq.org/show_bug.cgi?id=51172
Could you test with wine-staging-6.8?
I tried building wine-staging-6.8 by cloning the wine repo and changing to the 6.8 release branch and doing the same with wine-staging and applying the patches with the available script, but come C files produced errors when compiling saying they were missing a certain header file <stdarg.h> where va_list was declared. I am unaware of whether this is a bug or how can I build or unselect certain patches as I am not well versed in how all the patches interact.
And also the precommit_hook.sh script from the wine-staging repo spits out at the end:
1 out of 1 hunk FAILED
ERROR: Changes to file dlls/wined3d/wined3d.spec don't apply: nvapi-Stub_DLL
I can build regular wine-6.8 but as you specified using the staging patches, with my current knowledge am unable to get that to compile.