Don't actually install DirectX, it overwrites the Wine versions of Direct3D, DirectSound and DirectInput and prevents them from working. Just copy the listed DLLs from a Windows machine and override them in winecfg.
As for the steps, the patch is linked to in the how-to, you need to apply it to the extracted Wine git download. To apply it, change directories to where you have the git files extracted, then run this:
Then you need to compile and install Wine:
patch -p1 < /path/to/patchfile
make depend && make
su -c "make install"