http://bugs.winehq.org/show_bug.cgi?id=3756
--- Comment #34 from Nikolay Sivov bunglehead@gmail.com 2010-03-16 10:19:30 --- (In reply to comment #32)
I got git, but I have to ask how do I access the repository for wine?
http://wiki.winehq.org/GitWine
After that
./configure (will list all dependencies you need) make depend make