https://bugs.winehq.org/show_bug.cgi?id=57347
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 77314 --> https://bugs.winehq.org/attachment.cgi?id=77314 patch
Sorry about the breakage, and many thanks for the bug report.
Attached patch should fix it (it's supposed to be merged with patch 2/2).