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 compilation on solaris and probably o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd5e2803cd67
branches:  trunk
changeset: 519836:fd5e2803cd67
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Wed Oct 11 05:03:49 2006 +0000

description:
Fix compilation on solaris and probably other systems with a posix
wait().  Patch (or equivalent) will be applied upstream.

diffstat:

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

diffs (42 lines):

diff -r 530affae1c90 -r fd5e2803cd67 cad/ng-spice/distinfo
--- a/cad/ng-spice/distinfo     Wed Oct 11 03:56:34 2006 +0000
+++ b/cad/ng-spice/distinfo     Wed Oct 11 05:03:49 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/12/28 16:06:37 joerg Exp $
+$NetBSD: distinfo,v 1.12 2006/10/11 05:03:49 dmcmahill Exp $
 
 SHA1 (ng-spice-rework-17.tar.gz) = 5ce17a6dff309fae069e0b1e7309eb1c16b4671b
 RMD160 (ng-spice-rework-17.tar.gz) = 2345cbdb608bfb182d33c1a6497408b22acffb77
@@ -13,3 +13,4 @@
 SHA1 (patch-ah) = f76c5c400ee588f482211997f2d405811b945518
 SHA1 (patch-ai) = 874de21ac028eeaf1eada3fa78563a2383d6b3f1
 SHA1 (patch-aj) = 6555ae3e2e8f8c63795334e192a6d7c149afc164
+SHA1 (patch-ak) = 934a1eab94881ed57a9116f69d4c72c921451a27
diff -r 530affae1c90 -r fd5e2803cd67 cad/ng-spice/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/ng-spice/patches/patch-ak     Wed Oct 11 05:03:49 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index