http://bugs.winehq.org/show_bug.cgi?id=4626
------- Additional Comments From ploujj@gmail.com 2006-20-02 17:49 ------- I'm not understanding what I'm supposed to do to patch the source like you did. I tried patching the 0_9_8 CVS tag/version and the patch applied correctly, but like it was already mentioned "fixme:winsock:WS_getnameinfo getnameinfo() failed, not found during buildtime" appears, and bittorrent just pops up a message about its log. I tried getting the latest CVS checkout (into a new directory). That seemed to already include the changes in the patch, but after compilation I got the same results by running bittorrent.exe.
In the latest CVS checkout:
$ grep getnameinfo /usr/include/netdb.h returns nothing and:
$ grep -A7 getnameinfo config.log configure:14784: checking for getnameinfo configure:14841: gcc -m32 -o conftest -m32 -L/emul/linux/x86/usr/lib/ -m32 -L/emul/linux/x86/usr/lib/ conftest.c >&5 configure:14847: $? = 0 configure:14850: test -z || test ! -s conftest.err configure:14853: $? = 0 configure:14856: test -s conftest configure:14859: $? = 0 configure:14871: result: yes -- ac_cv_func_getnameinfo=yes ac_cv_func_getnetbyname=yes ac_cv_func_getopt_long=yes ac_cv_func_getpagesize=yes ac_cv_func_getprotobyname=yes ac_cv_func_getprotobynumber=yes ac_cv_func_getpwuid=yes ac_cv_func_getservbyport=yes
$ grep GETNAMEINFO include/config.h{,.in} include/config.h:#define HAVE_GETNAMEINFO 1 include/config.h.in:#undef HAVE_GETNAMEINFO
I'm using Gentoo AMD64