diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-16 17:51:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-16 17:51:21 +0000 |
commit | 13144035d3836162a588885adb2da7293416010c (patch) | |
tree | d9c7bd28761b82776127157b23a22d9cc7f6f87d /net-proxy/tsocks/files | |
parent | ppc stable, bug #115045 (diff) | |
download | gentoo-2-13144035d3836162a588885adb2da7293416010c.tar.gz gentoo-2-13144035d3836162a588885adb2da7293416010c.tar.bz2 gentoo-2-13144035d3836162a588885adb2da7293416010c.zip |
Add tsocks with a little cleanup and patch for BSD compatibility (bug #140612).
(Portage version: 2.1.1_pre3)
Diffstat (limited to 'net-proxy/tsocks/files')
-rw-r--r-- | net-proxy/tsocks/files/digest-tsocks-1.8_beta5 | 2 | ||||
-rw-r--r-- | net-proxy/tsocks/files/digest-tsocks-1.8_beta5-r1 | 3 | ||||
-rw-r--r-- | net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch | 22 |
3 files changed, 27 insertions, 0 deletions
diff --git a/net-proxy/tsocks/files/digest-tsocks-1.8_beta5 b/net-proxy/tsocks/files/digest-tsocks-1.8_beta5 index 26e48b620a82..9fa43c4ee82c 100644 --- a/net-proxy/tsocks/files/digest-tsocks-1.8_beta5 +++ b/net-proxy/tsocks/files/digest-tsocks-1.8_beta5 @@ -1 +1,3 @@ MD5 51caefd77e5d440d0bbd6443db4fc0f8 tsocks-1.8beta5.tar.gz 83928 +RMD160 12e3eeeafaf7f3be21dd8901da38d5890659b09e tsocks-1.8beta5.tar.gz 83928 +SHA256 849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 tsocks-1.8beta5.tar.gz 83928 diff --git a/net-proxy/tsocks/files/digest-tsocks-1.8_beta5-r1 b/net-proxy/tsocks/files/digest-tsocks-1.8_beta5-r1 new file mode 100644 index 000000000000..9fa43c4ee82c --- /dev/null +++ b/net-proxy/tsocks/files/digest-tsocks-1.8_beta5-r1 @@ -0,0 +1,3 @@ +MD5 51caefd77e5d440d0bbd6443db4fc0f8 tsocks-1.8beta5.tar.gz 83928 +RMD160 12e3eeeafaf7f3be21dd8901da38d5890659b09e tsocks-1.8beta5.tar.gz 83928 +SHA256 849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 tsocks-1.8beta5.tar.gz 83928 diff --git a/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch b/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch new file mode 100644 index 000000000000..e003475da5a3 --- /dev/null +++ b/net-proxy/tsocks/files/tsocks-1.8_beta5-bsd.patch @@ -0,0 +1,22 @@ +Index: tsocks-1.8/configure.in +=================================================================== +--- tsocks-1.8.orig/configure.in ++++ tsocks-1.8/configure.in +@@ -122,7 +122,7 @@ LIBS= + + dnl Checks for libraries. + dnl Replace `main' with a function in -ldl: +-AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required")) ++AC_CHECK_FUNC([dlsym], [], [AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))]) + + dnl If we're using gcc here define _GNU_SOURCE + AC_MSG_CHECKING("for RTLD_NEXT from dlfcn.h") +@@ -312,7 +312,7 @@ AC_DEFINE_UNQUOTED(CLOSE_SIGNATURE, [${P + 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, unsigned long nfds, int timeout' 'struct pollfd ufds[[]], nfds_t nfds, int timeout' + do + if test "${PROTO}" = ""; then + AC_TRY_COMPILE([ |