pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/electric Use hw.ncpu on DragonFly as well.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1c7498acbf2
branches:  trunk
changeset: 504976:b1c7498acbf2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 28 14:17:57 2005 +0000

description:
Use hw.ncpu on DragonFly as well.

diffstat:

 cad/electric/distinfo         |  4 ++--
 cad/electric/patches/patch-ac |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 209aec3c68ad -r b1c7498acbf2 cad/electric/distinfo
--- a/cad/electric/distinfo     Wed Dec 28 14:09:27 2005 +0000
+++ b/cad/electric/distinfo     Wed Dec 28 14:17:57 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 14:59:23 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/12/28 14:17:57 joerg Exp $
 
 SHA1 (electric-7.00.tar.gz) = 782652b078e81060928eadfae364cd74da07788e
 RMD160 (electric-7.00.tar.gz) = c57a2e0a32e40d435e125cad6dfc5c1b98e9067b
 Size (electric-7.00.tar.gz) = 4474722 bytes
 SHA1 (patch-aa) = ca3aa5c28eef818dce61055daeedc1b7d2e9a8a7
 SHA1 (patch-ab) = f9c648dda476f1e7cd3c3e875236b76198fa317b
-SHA1 (patch-ac) = bb5fe1469cf1dcee04f2350cca55bb2c086ecae0
+SHA1 (patch-ac) = f599a3440bb1a6402280fe4129361c13cabd38f8
diff -r 209aec3c68ad -r b1c7498acbf2 cad/electric/patches/patch-ac
--- a/cad/electric/patches/patch-ac     Wed Dec 28 14:09:27 2005 +0000
+++ b/cad/electric/patches/patch-ac     Wed Dec 28 14:17:57 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.1 2004/12/01 04:47:53 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.2 2005/12/28 14:17:57 joerg Exp $
 
---- src/graph/graphunixx11.c.orig      Fri Jul 16 01:59:53 2004
+--- src/graph/graphunixx11.c.orig      2004-07-16 01:59:53.000000000 +0000
 +++ src/graph/graphunixx11.c
 @@ -3085,11 +3085,30 @@ void ewait(INTBIG process)
  /*
@@ -8,7 +8,7 @@
   */
 +
 +/* XXX there should really be some sort of autoconf test here... */
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
 +#include <sys/param.h>
 +#include <sys/sysctl.h>
 +#endif
@@ -17,7 +17,7 @@
  {
        INTBIG numproc;
  
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
 +      int mib[2], ncpu;
 +      size_t len;
 +



Home | Main Index | Thread Index | Old Index