4. Copy everything in the patch window and place it in a text file and save it as ati.patch under the wine-git folder.
5. from the command line run in the wine-git folder
patch -p1 < ati.patch
6. Commit the patch before you build wine
git commit -a
Put in some comments
hit ctrl+o to save it, just hit enter when asked for the name
hit ctrl+x to exit
7. run configure
./configure
8. run make depend and make
make depend && make
This can take some time around 30 minutes on my AMD64 3200.
9. if the wine build succeeds install the new wine version
sudo make install
10. add overrides to registry. From command prompt run
regedit
11. add the following keys as strings
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"MaxVertexUniforms" = "512"
"MaxFragmentUniforms" = "512"
"MaxVaryings" = "52"
"VideoMemorySize"="512"
Change VideoMemorySize to that of your graphic card.
You may have to add the Direct3D if it isn't there already.
Helpful links for building wine and Direct3d Registry Keys.