pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tsocks Include <sys/types.h> before <sys/socket.h>...
details: https://anonhg.NetBSD.org/pkgsrc/rev/870d8ee109dc
branches: trunk
changeset: 510066:870d8ee109dc
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Mar 23 16:37:46 2006 +0000
description:
Include <sys/types.h> before <sys/socket.h> for DragonFly.
Detect poll correctly on DragonFly.
diffstat:
net/tsocks/distinfo | 4 ++--
net/tsocks/patches/patch-ab | 16 ++++++++++++----
2 files changed, 14 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 9d86d2accc88 -r 870d8ee109dc net/tsocks/distinfo
--- a/net/tsocks/distinfo Thu Mar 23 16:28:01 2006 +0000
+++ b/net/tsocks/distinfo Thu Mar 23 16:37:46 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/08/04 10:22:21 drochner Exp $
+$NetBSD: distinfo,v 1.5 2006/03/23 16:37:46 joerg Exp $
SHA1 (tsocks-1.8beta5.tar.gz) = 489f88c5df999ba21b27cdaa7836d9426d062aec
RMD160 (tsocks-1.8beta5.tar.gz) = 12e3eeeafaf7f3be21dd8901da38d5890659b09e
Size (tsocks-1.8beta5.tar.gz) = 83928 bytes
SHA1 (patch-aa) = a789618746a8666d2dc476f8b8ac975209892723
-SHA1 (patch-ab) = f99624c5bde722ba588dfb1b2ff12f6f276bd263
+SHA1 (patch-ab) = 01f621f9b59d87b5305ea8b451b1bf1aab590700
SHA1 (patch-ac) = 3e5c38ca7ea7c0a499e1ed42dca406b8d5769333
diff -r 9d86d2accc88 -r 870d8ee109dc net/tsocks/patches/patch-ab
--- a/net/tsocks/patches/patch-ab Thu Mar 23 16:28:01 2006 +0000
+++ b/net/tsocks/patches/patch-ab Thu Mar 23 16:37:46 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.3 2005/08/04 10:22:21 drochner Exp $
+$NetBSD: patch-ab,v 1.4 2006/03/23 16:37:46 joerg Exp $
---- configure.orig 2002-07-16 00:51:08.000000000 +0200
+--- configure.orig 2002-07-15 22:51:08.000000000 +0000
+++ configure
@@ -538,7 +538,6 @@ fi
@@ -64,12 +64,20 @@
cat >> confdefs.h <<EOF
#define LIBC "${LIBC}"
-@@ -2228,7 +2235,7 @@ EOF
+@@ -2151,6 +2158,7 @@ do
+ #line 2152 "configure"
+ #include "confdefs.h"
+
++ #include <sys/types.h>
+ #include <sys/socket.h>
+ int connect($testproto);
+
+@@ -2228,7 +2236,7 @@ EOF
echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6
echo "configure:2230: checking for correct poll prototype" >&5
PROTO=
-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
-+for testproto in 'struct pollfd *ufds, nfds_t nfds, int timeout'
++for testproto in 'struct pollfd *ufds, nfds_t nfds, int timeout' 'struct pollfd *ufds, unsigned int nfds, int timeout'
do
if test "${PROTO}" = ""; then
cat > conftest.$ac_ext <<EOF
Home |
Main Index |
Thread Index |
Old Index