http://bugs.winehq.org/show_bug.cgi?id=15030
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-08-26 20:55:24 --- Save that patch and apply manually the part that fails:
$ git show 3995627de204284de96d50d3a42291f02e42c344 | patch -p1 -R --dry-run patching file dlls/winealsa.drv/alsa.c patching file dlls/winealsa.drv/dscapture.c patching file dlls/winealsa.drv/dsoutput.c patching file dlls/winealsa.drv/wavein.c patching file dlls/winealsa.drv/waveout.c Hunk #2 succeeded at 574 with fuzz 1. Hunk #3 FAILED at 756. 1 out of 3 hunks FAILED -- saving rejects to file dlls/winealsa.drv/waveout.c.rej