diff options
author | minskim <minskim> | 2004-08-21 05:50:44 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-08-21 05:50:44 +0000 |
commit | 59b8d104af06e26a1adf38ee3a86e66cf75ec260 (patch) | |
tree | 69f80867adc690ecf20f053e0573f391d6f9e860 /net/tightvncviewer | |
parent | a935589f8dc9a6b133651422b250797eb7e68a86 (diff) | |
download | pkgsrc-59b8d104af06e26a1adf38ee3a86e66cf75ec260.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/distinfo | 3 | ||||
-rw-r--r-- | net/tightvncviewer/patches/patch-ab | 16 |
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)) |