aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-12-17 02:11:39 +0800
committerstas <stas@FreeBSD.org>2006-12-17 02:11:39 +0800
commit4d595ac259a0786ff97e238f026291cbc508ab8e (patch)
treed51114be2fa57fbe471205916bec9387615c91c0 /cad
parent8968ab262aadd27b3a98db50825243d3ef56b91f (diff)
downloadfreebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.tar.gz
freebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.tar.zst
freebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.zip
- gcc 4 compatiblity
Reported by: kris
Diffstat (limited to 'cad')
-rw-r--r--cad/tclspice/files/patch-src_frontend_subckt.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/tclspice/files/patch-src_frontend_subckt.c b/cad/tclspice/files/patch-src_frontend_subckt.c
new file mode 100644
index 000000000000..1ebe5799fb8c
--- /dev/null
+++ b/cad/tclspice/files/patch-src_frontend_subckt.c
@@ -0,0 +1,20 @@
+--- src/frontend/subckt.c.orig Sat Dec 16 21:03:20 2006
++++ src/frontend/subckt.c Sat Dec 16 21:03:58 2006
+@@ -79,7 +79,7 @@
+ static int numdevs(char *s);
+ static bool modtranslate(struct line *deck, char *subname);
+ static void devmodtranslate(struct line *deck, char *subname);
+-static int inp_numnodes(char c);
++int inp_numnodes(char c);
+
+ /*---------------------------------------------------------------------
+ * table is used in settrans and gettrans -- it holds the netnames used
+@@ -1860,7 +1860,7 @@
+ * else, but... Note that we pretend that dependent sources and mutual
+ * inductors have more nodes than they really do...
+ *----------------------------------------------------------------------*/
+-static int
++int
+ inp_numnodes(char c)
+ {
+ if (isupper(c))