diff options
author | dholland <dholland@pkgsrc.org> | 2015-11-08 21:02:49 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-11-08 21:02:49 +0000 |
commit | 4944878de2b64c4096b9f28b196faf538362786d (patch) | |
tree | a5dea59558126e928889c30fee6012e3a2d13479 /misc | |
parent | 2eff5e1bdd3c86644ee241160d48cdcbb720d8ee (diff) | |
download | pkgsrc-4944878de2b64c4096b9f28b196faf538362786d.tar.gz |
union wait
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ttyrec/distinfo | 3 | ||||
-rw-r--r-- | misc/ttyrec/patches/patch-ttyrec.c | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/misc/ttyrec/distinfo b/misc/ttyrec/distinfo index 048b9071d65..39a22d48c61 100644 --- a/misc/ttyrec/distinfo +++ b/misc/ttyrec/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2015/11/03 23:49:53 agc Exp $ +$NetBSD: distinfo,v 1.6 2015/11/08 21:02:49 dholland Exp $ SHA1 (ttyrec-1.0.8.tar.gz) = 645f1e2a1ac4b2a32ad314711fb3da014ce9684d RMD160 (ttyrec-1.0.8.tar.gz) = f7538fa742d1c1e07b8b48f3fa79cfcf13ca8044 SHA512 (ttyrec-1.0.8.tar.gz) = b7f6f4c78c5148dacc7058534d89f13fcf333ee9e099d4475135e9c15a99a8aed72bf4bd5954652a6bb044d11ad35b4cb8d07208a5349c79c811f68fde7e8611 Size (ttyrec-1.0.8.tar.gz) = 8528 bytes SHA1 (patch-aa) = 92efba673741631b4e6c5fff09039468acd75198 +SHA1 (patch-ttyrec.c) = 6fb0ff915199a6619eeb5ae6f38ab88e32c7594c diff --git a/misc/ttyrec/patches/patch-ttyrec.c b/misc/ttyrec/patches/patch-ttyrec.c new file mode 100644 index 00000000000..f8172544e73 --- /dev/null +++ b/misc/ttyrec/patches/patch-ttyrec.c @@ -0,0 +1,23 @@ +$NetBSD: patch-ttyrec.c,v 1.1 2015/11/08 21:02:49 dholland Exp $ + +- remove union wait + +--- ttyrec.c~ 2006-06-11 15:52:50.000000000 +0000 ++++ ttyrec.c +@@ -203,15 +203,11 @@ doinput() + void + finish() + { +-#if defined(SVR4) + int status; +-#else /* !SVR4 */ +- union wait status; +-#endif /* !SVR4 */ + register int pid; + register int die = 0; + +- while ((pid = wait3((int *)&status, WNOHANG, 0)) > 0) ++ while ((pid = wait3(&status, WNOHANG, 0)) > 0) + if (pid == child) + die = 1; + |