http://bugs.winehq.org/show_bug.cgi?id=16328
--- Comment #149 from Ruslan b7.10110111@gmail.com 2010-01-26 16:55:21 --- (In reply to comment #147)
Patch is to be applied to wine *source* tree, not ~/.wine. Once you download source tarball, you should do something like this:
tar xvf /path/to/wine-<version>.tar.bz2 cd wine-<version> patch -p1 -i /path/to/patch.patch ./configure --prefix=/wine/install/prefix make make install
Anyway, this code is not to be copied&pasted. You should first learn how to patch&compile&install programs