diff options
Diffstat (limited to 'cad')
-rw-r--r-- | cad/electric/distinfo | 4 | ||||
-rw-r--r-- | cad/electric/patches/patch-ac | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cad/electric/distinfo b/cad/electric/distinfo index 6b8bc836739..d0c6af5c664 100644 --- a/cad/electric/distinfo +++ b/cad/electric/distinfo @@ -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 --git a/cad/electric/patches/patch-ac b/cad/electric/patches/patch-ac index 0876f145c5a..f1ee5a93384 100644 --- a/cad/electric/patches/patch-ac +++ b/cad/electric/patches/patch-ac @@ -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 @@ $NetBSD: patch-ac,v 1.1 2004/12/01 04:47:53 dmcmahill Exp $ */ + +/* 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 @@ $NetBSD: patch-ac,v 1.1 2004/12/01 04:47:53 dmcmahill Exp $ { INTBIG numproc; -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__DragonFly__) + int mib[2], ncpu; + size_t len; + |