summaryrefslogtreecommitdiff
path: root/net/x2vnc
diff options
context:
space:
mode:
authortv <tv>2005-11-08 04:01:24 +0000
committertv <tv>2005-11-08 04:01:24 +0000
commita2b5861503bb0bd347fc5b6fc4998f1acff15c46 (patch)
tree0a805902e22f574085c70f0fe3c5db3123afe32e /net/x2vnc
parent45d8d41b7ebcbaa815ecd75b759ed9d64a5d6338 (diff)
downloadpkgsrc-a2b5861503bb0bd347fc5b6fc4998f1acff15c46.tar.gz
Use waitpid() instead of wait3() with null rusage. (waitpid is more portable)
Bump PKGREVISION due to this being an all-platform change.
Diffstat (limited to 'net/x2vnc')
-rw-r--r--net/x2vnc/Makefile4
-rw-r--r--net/x2vnc/distinfo3
-rw-r--r--net/x2vnc/patches/patch-aa13
3 files changed, 17 insertions, 3 deletions
diff --git a/net/x2vnc/Makefile b/net/x2vnc/Makefile
index ad1a45fd27b..f9a95f3eb5e 100644
--- a/net/x2vnc/Makefile
+++ b/net/x2vnc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2005/06/01 18:03:08 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2005/11/08 04:01:24 tv Exp $
#
DISTNAME= x2vnc-1.5.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net x11
MASTER_SITES= http://fredrik.hubbe.net/
diff --git a/net/x2vnc/distinfo b/net/x2vnc/distinfo
index c27188b580f..2f35f3715bf 100644
--- a/net/x2vnc/distinfo
+++ b/net/x2vnc/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:14:07 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/11/08 04:01:24 tv Exp $
SHA1 (x2vnc-1.5.1.tar.gz) = bf492481c7dcdb4abe71628faff955c16b43a4d2
RMD160 (x2vnc-1.5.1.tar.gz) = ef3015b57cc755a148eecbfaaa5528ed3f660a78
Size (x2vnc-1.5.1.tar.gz) = 60887 bytes
+SHA1 (patch-aa) = 828098e52990d897c49301bf73dbc83258c905da
diff --git a/net/x2vnc/patches/patch-aa b/net/x2vnc/patches/patch-aa
new file mode 100644
index 00000000000..31e15f3fc6f
--- /dev/null
+++ b/net/x2vnc/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/11/08 04:01:24 tv Exp $
+
+--- listen.c.orig 1998-07-30 19:46:51.000000000 -0400
++++ listen.c
+@@ -65,7 +65,7 @@ listenForIncomingConnections()
+
+ /* reap any zombies */
+ int status, pid;
+- while ((pid= wait3(&status, WNOHANG, (struct rusage *)0))>0);
++ while ((pid= waitpid(-1, &status, WNOHANG))>0);
+
+ /* discard any X events */
+ while (XCheckIfEvent(d, &ev, AllXEventsPredicate, NULL))