https://bugs.winehq.org/show_bug.cgi?id=47907
--- Comment #14 from Nathan Bennett version2013@protonmail.com --- (In reply to Piotr Caban from comment #12) compiling wine-6.0-rc4 with patch. bug is gone.
Like you mentioned, next bug that stops compilation is: https://bugs.winehq.org/show_bug.cgi?id=50423 (dlls/devenum/mediacatenum.c)