https://bugs.winehq.org/show_bug.cgi?id=51420
--- Comment #32 from matt gardotd426@gmail.com --- (In reply to matt from comment #31)
Guys I've uploaded a patch. See if it fixes it for you. Applies to current wine source before Staging patchset is applied. Patch applies clean and build succeeds (tested also with Staging).
Mitchell reports that the patch fixes the issue for them. So anyone who is still encountering this feel free to use the patch until this gets fixed upstream.
Also apply it *after* staging if you're gonna use the staging patchset (it works both ways, but still).