http://bugs.winehq.org/show_bug.cgi?id=33715
--- Comment #5 from Alan W. Irwin irwin@beluga.phys.uvic.ca 2013-06-05 01:04:50 CDT --- I agree this seems to be the definitive fix for this regression.
If I apply the patch for this fix (http://source.winehq.org/git/wine.git/patch/598ff4dd5a44e1632e9eb2bf6d59a2a3...) on top of wine-1.5.31 which has already had the two reverse patches applied that are mentioned in bug 33654 as a workaround for that regression, then I can configure, build, test, and install libagg, libharu, libshape, libqhull, and ndiff software on the CMake/MinGW/MSYS/Wine platform. Note there are now two additional software builds that are configured by my build script compared to yesterday, and I plan to expand that script to the full set of software that I built (by hand configuration) for wine-1.5.19. So this is an incomplete set of builds compared to what I accomplished before for wine-1.5.19. Nevertheless, it is quite promising that those two reverse patches to workaround the regression given by bug 33654 and this current fix for bug 33715 applied to wine-1.5.31 are giving good software builds on the CMake/MinGW/MSYS/Wine platform so far. Piotr, thanks for your fix here! Furthermore, (assuming you also find a definitive fix for 33654, and my expansion of the Windows build script to additional software packages find no additional regressions) I have good hope that the next unpatched wine release (wine-1.5.32?) will be just as good a platform for software builds as wine-1.5.19 was for me previously.