aboutsummaryrefslogtreecommitdiff
path: root/cad/ngspice_rework
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-18 08:14:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-18 08:14:56 +0000
commit6155fc8ed5133632a4702b0fe7dea8d3823089ea (patch)
treeab4eb0abe76d84cfc2ad77f5182e80ea9ba7a560 /cad/ngspice_rework
parent042b2e1dda687864051a752bc212c13739b3faa4 (diff)
downloadports-6155fc8ed5133632a4702b0fe7dea8d3823089ea.tar.gz
ports-6155fc8ed5133632a4702b0fe7dea8d3823089ea.zip
Unbreak the build on 5.X and -CURRENT.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118227
Diffstat (limited to 'cad/ngspice_rework')
-rw-r--r--cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c b/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c
new file mode 100644
index 000000000000..426f1e713b91
--- /dev/null
+++ b/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c
@@ -0,0 +1,20 @@
+--- src/frontend/plotting/pvec.c.orig Fri Sep 17 17:30:10 2004
++++ src/frontend/plotting/pvec.c Fri Sep 17 17:30:33 2004
+@@ -47,8 +47,6 @@
+ case GRID_SMITHGRID:
+ strcat(buf, ", grid = smithgrid (not xformed)");
+ break;
+-
+- default:
+ }
+
+ switch (d->v_plottype) {
+@@ -60,8 +58,6 @@
+ case PLOT_POINT:
+ strcat(buf, ", plot = point");
+ break;
+-
+- default:
+ }
+ if (d->v_defcolor) {
+ sprintf(buf2, ", color = %s", d->v_defcolor);