summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2010-03-17 21:54:58 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2010-03-17 21:54:58 +0000
commit5877088be2180443b862f0814aa055ce3cf73c2c (patch)
tree199a72edf5d11f7182edc484b13af42a1c5511b3 /cad
parent1a1edb3a54d73d5bac8dde6dc0348e64c07f59d2 (diff)
downloadpkgsrc-5877088be2180443b862f0814aa055ce3cf73c2c.tar.gz
Fix an obvious bug that prevents compiling on systems with /proc/meminfo.
Patch is already in upstream sources.
Diffstat (limited to 'cad')
-rw-r--r--cad/ng-spice/distinfo3
-rw-r--r--cad/ng-spice/patches/patch-aa11
2 files changed, 13 insertions, 1 deletions
diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo
index 2e877502b47..a6e3ce886dd 100644
--- a/cad/ng-spice/distinfo
+++ b/cad/ng-spice/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2010/02/28 18:00:19 dmcmahill Exp $
+$NetBSD: distinfo,v 1.14 2010/03/17 21:54:58 dmcmahill Exp $
SHA1 (ng-spice-rework-20.tar.gz) = 870d69b88d6cc0d83a8a0416a6782a4abd296de0
RMD160 (ng-spice-rework-20.tar.gz) = 73eff9cd601253523816a7c8a93e88a795ce96bb
Size (ng-spice-rework-20.tar.gz) = 7167239 bytes
+SHA1 (patch-aa) = 08f84b761ac1cf568af6e5a10475259c39f6ecc3
SHA1 (patch-ak) = c5c08a75b6d41eaad75ac121566dd1b289579a39
diff --git a/cad/ng-spice/patches/patch-aa b/cad/ng-spice/patches/patch-aa
new file mode 100644
index 00000000000..85d00bb77b5
--- /dev/null
+++ b/cad/ng-spice/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.7 2010/03/17 21:54:58 dmcmahill Exp $
+
+--- src/frontend/com_sysinfo.c.orig 2009-10-04 15:57:10.000000000 +0000
++++ src/frontend/com_sysinfo.c 2010-03-17 21:53:46.000000000 +0000
+@@ -287,5 +287,5 @@
+ // numProcs++;
+ strPtr += strlen(matchStrProc);
+- if isblank(*strPtr) numProcs++;
++ if (isblank(*strPtr)) numProcs++;
+ }
+ info->numLogicalProcessors = numProcs;