summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafal <rafal>2010-07-29 11:02:38 +0000
committerrafal <rafal>2010-07-29 11:02:38 +0000
commitbdf08da1c0811ee64100aa98cfdd87a320f32cf3 (patch)
treed034cfee8b0652e6b3908666fe5f5a4444666ad1
parentd5ccfec17a1fd2fd4553d2ce6994fbeb43fc8ae0 (diff)
downloadpkgsrc-bdf08da1c0811ee64100aa98cfdd87a320f32cf3.tar.gz
Add patch from https://www.conserver.com/pipermail/users/2004-June/msg00001.html
to make network consoles work on LP64 platforms.
-rw-r--r--comms/conserver/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/conserver/patches/patch-ac b/comms/conserver/patches/patch-ac
new file mode 100644
index 00000000000..1289d845b34
--- /dev/null
+++ b/comms/conserver/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2010/07/29 11:02:38 rafal Exp $
+
+--- conserver/consent.c.orig 2003-04-06 08:32:41.000000000 -0400
++++ conserver/consent.c
+@@ -788,7 +788,7 @@ ConsInit(pCE, pfdSet, useHostCache)
+ } else if (pCE->isNetworkConsole) {
+ struct sockaddr_in port;
+ struct hostent *hp;
+- size_t one = 1;
++ int one = 1;
+ int flags;
+ fd_set fds;
+ struct timeval tv;