https://bugs.winehq.org/show_bug.cgi?id=40830
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Alexander Neilson from comment #4)
This patch appears to resolve this particular issue. I have now run into a further build failure later in the process. I will investigate and try and come up with a more complete patch for build failures under 10.12.
Thanks for testing the patch, if the new build failure is unrelated please open a new bug so we can keep subjects separated.