http://bugs.winehq.org/show_bug.cgi?id=19397
--- Comment #21 from Juan Lang juan_lang@yahoo.com 2009-07-24 13:47:46 --- Could you apply the 4 patches I just attached on top of the prior two and attach a +winsock log to this bug? You'll need to run autoconf after patch 1/4 is applied, in order to regenerate configure. You'll also need to rerun configure once you've done that. Assuming that patch is named 0003-Test-for-linux-irda.h.txt, you'd want to do something like:
patch -p1 < 0003-Test-for-linux-irda.h.txt autoconf ./configure make
You can defer rebuilding wine (running make) until all the patches are applied if you like.