summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authormlelstv <mlelstv@pkgsrc.org>2006-10-28 08:46:13 +0000
committermlelstv <mlelstv@pkgsrc.org>2006-10-28 08:46:13 +0000
commitc75642946ee451c9ea66f65e8a31e2cce33e46bf (patch)
tree1ba3372a58dda546a7019c66506fa0a8fa290d7d /cad
parentc6f06dbe2b0595bfdddf160a0b7ec6cab30c6c7f (diff)
downloadpkgsrc-c75642946ee451c9ea66f65e8a31e2cce33e46bf.tar.gz
Theses patches were omitted from the last commit.
Diffstat (limited to 'cad')
-rw-r--r--cad/spice/patches/patch-av35
-rw-r--r--cad/spice/patches/patch-aw16
2 files changed, 51 insertions, 0 deletions
diff --git a/cad/spice/patches/patch-av b/cad/spice/patches/patch-av
new file mode 100644
index 00000000000..deaa9486208
--- /dev/null
+++ b/cad/spice/patches/patch-av
@@ -0,0 +1,35 @@
+$NetBSD: patch-av,v 1.1 2006/10/28 08:46:13 mlelstv Exp $
+
+--- src/lib/fte/graf.c.orig 1993-01-05 22:43:44.000000000 +0100
++++ src/lib/fte/graf.c
+@@ -25,6 +25,9 @@ Author: 1988 Jeffrey M. Hsu
+ #include "ftedev.h"
+ #include "suffix.h"
+
++static void drawlegend();
++static void gr_resize_internal();
++
+ extern struct dbcomm *dbs; /* for iplot */
+
+ /* note: let's try to get rid of these */
+@@ -427,7 +430,7 @@ GRAPH *graph;
+
+ }
+
+-static
++static void
+ drawlegend(graph, plotno, dv)
+ GRAPH *graph;
+ int plotno;
+@@ -546,8 +549,9 @@ GRAPH *graph;
+
+ }
+
+-static gr_resize_internal(graph)
+-GRAPH *graph;
++static void
++gr_resize_internal(graph)
++ GRAPH *graph;
+ {
+
+ if (!graph->grid.xsized)
diff --git a/cad/spice/patches/patch-aw b/cad/spice/patches/patch-aw
new file mode 100644
index 00000000000..d6bf6a1853a
--- /dev/null
+++ b/cad/spice/patches/patch-aw
@@ -0,0 +1,16 @@
+$NetBSD: patch-aw,v 1.1 2006/10/28 08:46:13 mlelstv Exp $
+
+--- src/lib/mfb/mfbcaps.c.orig 1991-04-02 00:32:50.000000000 +0200
++++ src/lib/mfb/mfbcaps.c
+@@ -43,9 +43,9 @@ static int hopcount; /* detect inf
+
+ FILE *POpen();
+ char *strcpy();
+-char *MFBSkip();
++static char *MFBSkip();
+ char *MFBGetStr();
+-char *MFBCapDecod();
++static char *MFBCapDecod();
+ int MFBGetNum();
+ int MFBGetFlag();
+ int MFBGetEnt();