1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/cad/spice/files/patch-ap
Steve Price f4c18adf51 Incorporate some changes from NetBSD, Linux, and the Macquarie University.
PR:		18509
Submitted by:	Pedro F. Giffuni <giffunip@asme.org>
2000-05-29 03:04:58 +00:00

21 lines
489 B
Plaintext

--- 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,