http://bugs.winehq.org/show_bug.cgi?id=20422
--- Comment #7 from David Rogers ezekiel000@lavabit.com 2009-10-20 17:21:13 --- Created an attachment (id=24255) --> (http://bugs.winehq.org/attachment.cgi?id=24255) terminal output with patch
I compiled wine with your patch, unfortunately it makes things worse. Instead of a colour pallet error I get a crash, I've attached the terminal output from that crash.