From c4fdec37475acaad14d9c17b44f1d801a3fa4c6a Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 8 Nov 2005 04:01:24 +0000 Subject: Use waitpid() instead of wait3() with null rusage. (waitpid is more portable) Bump PKGREVISION due to this being an all-platform change. --- net/x2vnc/Makefile | 4 ++-- net/x2vnc/distinfo | 3 ++- net/x2vnc/patches/patch-aa | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 net/x2vnc/patches/patch-aa (limited to 'net/x2vnc') 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)) -- cgit v1.2.3