diff options
author | Steve Price <steve@FreeBSD.org> | 2000-05-29 03:04:58 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-05-29 03:04:58 +0000 |
commit | f4c18adf519154f09c2481a63f5493130b5e7448 (patch) | |
tree | a91bad08c660465368667e9871601f5fd0360b64 /cad/spice/files/patch-ap | |
parent | Update to version 20000430. (diff) |
Incorporate some changes from NetBSD, Linux, and the Macquarie University.
PR: 18509
Submitted by: Pedro F. Giffuni <giffunip@asme.org>
Diffstat (limited to '')
-rw-r--r-- | cad/spice/files/patch-ap | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/spice/files/patch-ap b/cad/spice/files/patch-ap new file mode 100644 index 000000000000..d17e47182a0c --- /dev/null +++ b/cad/spice/files/patch-ap @@ -0,0 +1,20 @@ +--- src/lib/fte/aspice.c.orig Sun Apr 25 20:57:55 1993 ++++ src/lib/fte/aspice.c Thu Sep 30 11:42:40 1999 +@@ -175,4 +175,10 @@ + FILE *fp; + int pid; ++#ifdef HAS_INTWAITSTATUS ++ int status; ++#else ++ union wait status; ++#endif ++ + static bool here = false; /* Don't want to be re-entrant. */ + +@@ -183,5 +189,5 @@ + + while (numchanged > 0) { +- pid = wait((union wait *) NULL); ++ pid = wait(&status); + if (pid == -1) { + fprintf(cp_err, |