aboutsummaryrefslogtreecommitdiff
path: root/cad/spice
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>2004-10-30 23:23:22 +0000
committerJohn Polstra <jdp@FreeBSD.org>2004-10-30 23:23:22 +0000
commitd8313ec1b1e4321e800bd7f7a037615898f1c9b7 (patch)
treef9c0d663e025385073a27d6f2a03ca28c1fabbb4 /cad/spice
parentcadecb0e2c210da2319f3794a33770d0872cbdd3 (diff)
downloadports-d8313ec1b1e4321e800bd7f7a037615898f1c9b7.tar.gz
ports-d8313ec1b1e4321e800bd7f7a037615898f1c9b7.zip
Notes
Diffstat (limited to 'cad/spice')
-rw-r--r--cad/spice/files/patch-src_lib_fte_device_c13
1 files changed, 11 insertions, 2 deletions
diff --git a/cad/spice/files/patch-src_lib_fte_device_c b/cad/spice/files/patch-src_lib_fte_device_c
index 26c4e60b0998..85e100d92633 100644
--- a/cad/spice/files/patch-src_lib_fte_device_c
+++ b/cad/spice/files/patch-src_lib_fte_device_c
@@ -1,5 +1,14 @@
---- src/lib/fte/device.c.orig Thu Jul 29 21:09:59 1993
-+++ src/lib/fte/device.c Thu Jul 17 00:47:50 2003
+--- src/lib/fte/device.c.orig Thu Jul 29 19:09:59 1993
++++ src/lib/fte/device.c Thu Sep 30 13:16:51 2004
+@@ -619,7 +619,7 @@
+ n2 = names;
+ }
+
+- if (!n2 || !eq(n2->pn_op->op_name, "=")) {
++ if (!n2 || !n2->pn_op || !eq(n2->pn_op->op_name, "=")) {
+ fprintf(cp_err, "alter: don't understand \"%s\"\n", names->pn_name);
+ fprintf(cp_err, "usage: alter dev param = expression\n");
+ fprintf(cp_err, " or alter @dev[param] = expression\n");
@@ -661,7 +661,9 @@
}