summaryrefslogtreecommitdiff
path: root/net/tightvncviewer
diff options
context:
space:
mode:
authorminskim <minskim>2004-08-21 05:50:44 +0000
committerminskim <minskim>2004-08-21 05:50:44 +0000
commitaa5e592bb455a41ea52e40a90fd510e5d577b343 (patch)
tree69f80867adc690ecf20f053e0573f391d6f9e860 /net/tightvncviewer
parent594ec0a6b86b2e3585271d88575601213e611621 (diff)
downloadpkgsrc-aa5e592bb455a41ea52e40a90fd510e5d577b343.tar.gz
On Interix, use waitpid(-1, status, options) instead of
wait3(status, options, NULL).
Diffstat (limited to 'net/tightvncviewer')
-rw-r--r--net/tightvncviewer/distinfo3
-rw-r--r--net/tightvncviewer/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/net/tightvncviewer/distinfo b/net/tightvncviewer/distinfo
index 6ebd1437bd3..ea3bb8398be 100644
--- a/net/tightvncviewer/distinfo
+++ b/net/tightvncviewer/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2003/11/27 16:19:22 recht Exp $
+$NetBSD: distinfo,v 1.10 2004/08/21 05:50:44 minskim Exp $
SHA1 (tightvnc-1.2.9_unixsrc.tar.bz2) = 62b55237676bbdc7f08771e6ff72c0f70264f4ee
Size (tightvnc-1.2.9_unixsrc.tar.bz2) = 1738256 bytes
SHA1 (patch-aa) = 56346a71083a8565d034187fcabb28a965078d62
+SHA1 (patch-ab) = e83466e362f78e4d1c88969c356d7ac3d2d617f6
diff --git a/net/tightvncviewer/patches/patch-ab b/net/tightvncviewer/patches/patch-ab
new file mode 100644
index 00000000000..7706a1ee408
--- /dev/null
+++ b/net/tightvncviewer/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2004/08/21 05:50:44 minskim Exp $
+
+--- vncviewer/listen.c.orig Tue Jan 16 02:07:57 2001
++++ vncviewer/listen.c
+@@ -124,7 +124,11 @@ listenForIncomingConnections(int *argc,
+
+ /* reap any zombies */
+ int status, pid;
++#ifdef __INTERIX
++ while ((pid= waitpid(-1, &status, WNOHANG))>0);
++#else
+ while ((pid= wait3(&status, WNOHANG, (struct rusage *)0))>0);
++#endif
+
+ /* discard any X events */
+ while (XCheckIfEvent(d, &ev, AllXEventsPredicate, NULL))