summaryrefslogtreecommitdiff
path: root/net/torsocks/files/patch-configure.in
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-01-10 20:17:41 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-01-10 20:17:41 +0000
commit35c9a5f399f0af3da48e8a501197a5d5dfadb13d (patch)
tree6aa56077ab52dc3fbe0256d11781071c723de13d /net/torsocks/files/patch-configure.in
parent- Fix usage of @dirrmtry macro (diff)
- Update to 1.1
PR: ports/153465 Submitted by: Andrei Lavreniyuk <andy.lavr@gmail.com> (maintainer)
Diffstat (limited to 'net/torsocks/files/patch-configure.in')
-rw-r--r--net/torsocks/files/patch-configure.in55
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