aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-18 16:14:56 +0800
committerdanfe <danfe@FreeBSD.org>2004-09-18 16:14:56 +0800
commita814f5490c144e61617133168a7cfaae7997382a (patch)
treee893d773bac2d99388744f40346e1fd9f26fa029 /cad
parent1e2d3a627440d68da659598fbfaabb3560b7b8ff (diff)
downloadfreebsd-ports-graphics-a814f5490c144e61617133168a7cfaae7997382a.tar.gz
freebsd-ports-graphics-a814f5490c144e61617133168a7cfaae7997382a.tar.zst
freebsd-ports-graphics-a814f5490c144e61617133168a7cfaae7997382a.zip
Unbreak the build on 5.X and -CURRENT.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus), fjoe (mentor, implicit)
Diffstat (limited to 'cad')
-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 00000000000..426f1e713b9
--- /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);