https://bugs.winehq.org/show_bug.cgi?id=48441
--- Comment #5 from Diederik van Bochove dvbochove@hotmail.com --- Finally, I managed to compile wine with this patch and test it, it took me a couple of days. (I've learned a lot, in the mean time) The patch solves my problem. As far as I could see, it didn't break other things, but I would not know how to test that properly.
Because I use wine in a Debian amd64 environment, I didn't succeed in compiling and installing wine form sources in that environment, so I created a Debian i386 virtual machine, installed the Debian source package (form winehq.org), applied the patch and compiled it with "debuild". After the build succeeded, I copied winex11.drv.so to my Debian amd64 environment.
Although I know it's not the recommended way to test, it was the only way in which I succeeded.
Is there anything I can do to get this patch or a similar patch upstream?