http://bugs.winehq.org/show_bug.cgi?id=19397
--- Comment #22 from Mikko Rönkkö mikko.ronkko@iki.fi 2009-07-24 14:03:16 --- (In reply to comment #21)
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
I started applying the patches and compiling before reading this message. I downloaded the patches to /tmp/patch and then did
git apply /tmp/patch/* configure make depend && make
I think that this does the same as the commands that you posted, but I hope that you correct me if this is wrong. (Make depend is probably not necessary.)