pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/x2vnc Use waitpid() instead of wait3() with null r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2337bc6a550c
branches: trunk
changeset: 502677:2337bc6a550c
user: tv <tv%pkgsrc.org@localhost>
date: Tue Nov 08 04:01:24 2005 +0000
description:
Use waitpid() instead of wait3() with null rusage. (waitpid is more portable)
Bump PKGREVISION due to this being an all-platform change.
diffstat:
net/x2vnc/Makefile | 4 ++--
net/x2vnc/distinfo | 3 ++-
net/x2vnc/patches/patch-aa | 13 +++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r c972ccaf4ebb -r 2337bc6a550c net/x2vnc/Makefile
--- a/net/x2vnc/Makefile Tue Nov 08 03:55:24 2005 +0000
+++ b/net/x2vnc/Makefile Tue Nov 08 04:01:24 2005 +0000
@@ -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 -r c972ccaf4ebb -r 2337bc6a550c net/x2vnc/distinfo
--- a/net/x2vnc/distinfo Tue Nov 08 03:55:24 2005 +0000
+++ b/net/x2vnc/distinfo Tue Nov 08 04:01:24 2005 +0000
@@ -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 -r c972ccaf4ebb -r 2337bc6a550c net/x2vnc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/x2vnc/patches/patch-aa Tue Nov 08 04:01:24 2005 +0000
@@ -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))
Home |
Main Index |
Thread Index |
Old Index