http://bugs.winehq.org/show_bug.cgi?id=28935
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2011-10-30 02:23:21 CDT --- The fact it can't apply some third party patch (to configure script especially) has nothing to do with wine. You need to get a working build first.