summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-03-18 22:44:22 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-03-18 22:44:22 +0000
commitb743a98b8bbfecc11282ca4a9650bf910112d197 (patch)
tree7d1cb61988d6dd203311bd635ce64bc6c760f1bc /cad
parent97787ccbc1e8580577f7e90ec1c1677576b3b72f (diff)
downloadpkgsrc-b743a98b8bbfecc11282ca4a9650bf910112d197.tar.gz
fix some conditionals and variable types. Kills a few warnings on NetBSD and runs now on solaris
Diffstat (limited to 'cad')
-rw-r--r--cad/ng-spice/distinfo3
-rw-r--r--cad/ng-spice/patches/patch-aa24
2 files changed, 26 insertions, 1 deletions
diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo
index 4f6a6f5c731..8feb6b19f84 100644
--- a/cad/ng-spice/distinfo
+++ b/cad/ng-spice/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 14:59:25 agc Exp $
+$NetBSD: distinfo,v 1.9 2005/03/18 22:44:22 dmcmahill Exp $
SHA1 (ng-spice-rework-15c.tar.gz) = 9cd62308a78134119479afaad620842c0923767c
RMD160 (ng-spice-rework-15c.tar.gz) = 3099cb6e1f7b9d3411336d134b178467618e2e29
Size (ng-spice-rework-15c.tar.gz) = 8730359 bytes
+SHA1 (patch-aa) = 4c47a4de66a5b5c0d5bbb253f4c18582caea576c
SHA1 (patch-ab) = bea9a7f0270ecaa10e58830c724c5e93333f7eb6
SHA1 (patch-ac) = 319b43356e1b2f37fb21ef8fcdf7f64b405fe810
SHA1 (patch-ad) = ba849271919d7b4ad03b9773ca0c93d82270b70f
diff --git a/cad/ng-spice/patches/patch-aa b/cad/ng-spice/patches/patch-aa
new file mode 100644
index 00000000000..d3d9bc6ef0e
--- /dev/null
+++ b/cad/ng-spice/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.4 2005/03/18 22:44:22 dmcmahill Exp $
+
+--- src/frontend/aspice.c.orig 2004-08-29 13:54:58.000000000 -0400
++++ src/frontend/aspice.c
+@@ -176,9 +176,7 @@ sigchild(void)
+ * whether the exit was normal or not.
+ */
+
+-#if defined(__NetBSD__) || defined(SOLARIS)
+- pid_t status;
+-#elif defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__sun__) || defined(__FreeBSD__)
+ int status;
+ #else
+ union wait status;
+@@ -192,7 +190,7 @@ ft_checkkids(void)
+ struct proc *p = NULL, *lp = NULL;
+ char buf[BSIZE_SP];
+ FILE *fp;
+- int pid = 0;
++ pid_t pid = 0;
+ static bool here = FALSE; /* Don't want to be re-entrant. */
+
+ if (!numchanged || here)