summaryrefslogtreecommitdiff
path: root/cad/ng-spice/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'cad/ng-spice/patches/patch-ak')
-rw-r--r--cad/ng-spice/patches/patch-ak24
1 files changed, 24 insertions, 0 deletions
diff --git a/cad/ng-spice/patches/patch-ak b/cad/ng-spice/patches/patch-ak
new file mode 100644
index 00000000000..36e99a79b45
--- /dev/null
+++ b/cad/ng-spice/patches/patch-ak
@@ -0,0 +1,24 @@
+$NetBSD: patch-ak,v 1.1 2006/10/11 05:03:49 dmcmahill Exp $
+
+--- src/frontend/aspice.c.orig 2005-05-30 16:28:30.000000000 -0400
++++ src/frontend/aspice.c
+@@ -168,14 +168,11 @@ sigchild(void)
+ * whether the exit was normal or not.
+ */
+
+-#if defined(__NetBSD__) || defined(SOLARIS)
+- pid_t status;
+-#elif defined(__FreeBSD__) || defined(__APPLE__)
+- int status;
+-#else
+- union wait status;
+-#endif
+-
++/*
++ * On posix systems, wait() is:
++ * pid_t wait(int *status);
++ */
++int status;
+
+
+ void