diff options
Diffstat (limited to 'net/torsocks/files/patch-configure.in')
| -rw-r--r-- | net/torsocks/files/patch-configure.in | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/net/torsocks/files/patch-configure.in b/net/torsocks/files/patch-configure.in index 46a1849ca97f..92a4511b2dcf 100644 --- a/net/torsocks/files/patch-configure.in +++ b/net/torsocks/files/patch-configure.in @@ -15,58 +15,3 @@ AC_CHECK_LIB(resolv, res_query, [ tempres="no" ],tempres="yes") if test "$tempres" = "no"; then -@@ -356,8 +354,8 @@ - dnl Find the correct res_querydomain prototype on this machine - AC_MSG_CHECKING(for correct res_querydomain prototype) - PROTO= --PROTO1='const char *name, const char *domain, int class, int type, unsigned char *answer, int anslen' --for testproto in "${PROTO1}" -+PROTO1='const char *name, const char *domain, int class, int type, u_char *answer, int anslen' -+for PROTO in "${PROTO1}" - do - if test "${PROTO}" = ""; then - AC_TRY_COMPILE([ -@@ -378,9 +376,9 @@ - AC_MSG_CHECKING(for correct res_send prototype) - PROTO= - PROTO1='const char *msg, int msglen, char *answer, int anslen' --PROTO2='const unsigned char *msg, int msglen, unsigned char *answer, int anslen' --for testproto in "${PROTO1}" \ -- "${PROTO2}" -+PROTO2='const u_char *msg, int msglen, u_char *answer, int anslen' -+for PROTO in "${PROTO1}" \ -+ "${PROTO2}" - do - if test "${PROTO}" = ""; then - AC_TRY_COMPILE([ -@@ -401,8 +399,8 @@ - dnl Find the correct res_search prototype on this machine - AC_MSG_CHECKING(for correct res_search prototype) - PROTO= --PROTO1='const char *dname, int class, int type,unsigned char *answer, int anslen' --for testproto in "${PROTO1}" -+PROTO1='const char *dname, int class, int type, u_char *answer, int anslen' -+for PROTO in "${PROTO1}" - do - if test "${PROTO}" = ""; then - AC_TRY_COMPILE([ -@@ -423,8 +421,8 @@ - dnl Find the correct res_query prototype on this machine - AC_MSG_CHECKING(for correct res_query prototype) - PROTO= --PROTO1='const char *dname, int class, int type,unsigned char *answer, int anslen' --for testproto in "${PROTO1}" -+PROTO1='const char *dname, int class, int type, u_char *answer, int anslen' -+for PROTO in "${PROTO1}" - do - if test "${PROTO}" = ""; then - AC_TRY_COMPILE([ -@@ -471,7 +469,7 @@ - dnl Find the correct poll prototype on this machine - AC_MSG_CHECKING(for correct poll prototype) - PROTO= --for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' \ -+for testproto in 'struct pollfd *ufds, u_long nfds, int timeout' \ - 'struct pollfd *ufds, nfds_t nfds, int timeout' \ - 'struct pollfd *pfd, unsigned int nfds, int timeout' - do |
