pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/ng-spice fix some conditionals and variable types....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e2856136b13
branches:  trunk
changeset: 490729:0e2856136b13
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Fri Mar 18 22:44:22 2005 +0000

description:
fix some conditionals and variable types.  Kills a few warnings on NetBSD and runs now on solaris

diffstat:

 cad/ng-spice/distinfo         |   3 ++-
 cad/ng-spice/patches/patch-aa |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r a10aa6045ec0 -r 0e2856136b13 cad/ng-spice/distinfo
--- a/cad/ng-spice/distinfo     Fri Mar 18 22:16:04 2005 +0000
+++ b/cad/ng-spice/distinfo     Fri Mar 18 22:44:22 2005 +0000
@@ -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 -r a10aa6045ec0 -r 0e2856136b13 cad/ng-spice/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/ng-spice/patches/patch-aa     Fri Mar 18 22:44:22 2005 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index