| | 98 | |
| | 99 | === Cannot find socket libraries === |
| | 100 | |
| | 101 | The socket functionalities are provided in Haiku's libnetwork. The proper fix for this is to patch Configure to check that library as well. This is an example patch of libevent. |
| | 102 | {{{ |
| | 103 | diff -Naur libevent-1.4.13-stable/configure.in libevent-1.4.13-stable-haiku/configure.in |
| | 104 | --- libevent-1.4.13-stable/configure.in 2009-05-24 13:37:49.000000000 +0000 |
| | 105 | +++ libevent-1.4.13-stable-haiku/configure.in 2009-05-28 16:55:17.000000000 +0000 |
| | 106 | @@ -33,7 +33,7 @@ |
| | 107 | AC_SUBST(LIBTOOL_DEPS) |
| | 108 | |
| | 109 | dnl Checks for libraries. |
| | 110 | -AC_CHECK_LIB(socket, socket) |
| | 111 | +AC_SEARCH_LIBS(socket, socket network) |
| | 112 | AC_CHECK_LIB(resolv, inet_aton) |
| | 113 | AC_CHECK_LIB(rt, clock_gettime) |
| | 114 | AC_CHECK_LIB(nsl, inet_ntoa) |
| | 115 | }}} |