i modified the arch aur wine-git package to include the patch on my end.
https://aur.archlinux.org/packages/wine-git
if you use arch, just download it by clicking "download snapshot" and unarchive it. replace the PKGBUILD with the one attached to this post. also save the wine patch, dpi.patch i attached to this post and place it in the same directory with the PKGBUILD. then run makepkg --syncdeps and when that is done, makepkg --install
if you don't use arch, its been a long time since i compiled from source the traditional way. so i forget.
PKGBUILD dpi.patch