aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-10-08 21:38:30 +0800
committerpav <pav@FreeBSD.org>2006-10-08 21:38:30 +0800
commit8a004e78d1aa5307ecdb8c06699730258f1cfa5d (patch)
treeec3ad1dae82897d2816ebedbc07a4df356dc0176 /cad
parentb082dadbeb4a1c270e24cb9c3118e4d6c3ec6aa9 (diff)
downloadfreebsd-ports-gnome-8a004e78d1aa5307ecdb8c06699730258f1cfa5d.tar.gz
freebsd-ports-gnome-8a004e78d1aa5307ecdb8c06699730258f1cfa5d.tar.zst
freebsd-ports-gnome-8a004e78d1aa5307ecdb8c06699730258f1cfa5d.zip
- Fix build with gcc41
PR: ports/104158 Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Diffstat (limited to 'cad')
-rw-r--r--cad/irsim/files/patch-src-irsim-rsim.c20
-rw-r--r--cad/irsim/files/patch-src-irsim-subckt.c10
-rw-r--r--cad/irsim/files/patch-src-other-h2a-h2a.c10
-rw-r--r--cad/irsim/files/patch-src-other-h2a-sort.c10
-rw-r--r--cad/irsim/files/patch-src-other-inet2sim-inet2sim.c10
5 files changed, 60 insertions, 0 deletions
diff --git a/cad/irsim/files/patch-src-irsim-rsim.c b/cad/irsim/files/patch-src-irsim-rsim.c
new file mode 100644
index 000000000000..a038e10bb954
--- /dev/null
+++ b/cad/irsim/files/patch-src-irsim-rsim.c
@@ -0,0 +1,20 @@
+--- src/irsim/rsim.c.orig Sun Oct 8 13:23:58 2006
++++ src/irsim/rsim.c Sun Oct 8 13:24:44 2006
+@@ -130,6 +130,8 @@
+
+ private char not_in_stop[] = "Can't do that while stoped, try \"C\"\n";
+
++private int clockit();
++private int undefseq();
+
+ /*
+ * Parse line into tokens, filling up targv and WildCard, and setting 'targc'
+@@ -1299,7 +1301,7 @@
+
+
+ /* assert a bit vector */
+-private int doAssert()
++int doAssert()
+ {
+ char *mask, *value, *name;
+ Find1Arg f;
diff --git a/cad/irsim/files/patch-src-irsim-subckt.c b/cad/irsim/files/patch-src-irsim-subckt.c
new file mode 100644
index 000000000000..55cd77035787
--- /dev/null
+++ b/cad/irsim/files/patch-src-irsim-subckt.c
@@ -0,0 +1,10 @@
+--- src/irsim/subckt.c.orig Sun Oct 8 13:20:09 2006
++++ src/irsim/subckt.c Sun Oct 8 13:20:30 2006
+@@ -24,6 +24,7 @@
+
+ extern userSubCircuit subs[];
+
++private int HashSub();
+
+ private int subs_cmp(a, b)
+ SubCircuit *a;
diff --git a/cad/irsim/files/patch-src-other-h2a-h2a.c b/cad/irsim/files/patch-src-other-h2a-h2a.c
new file mode 100644
index 000000000000..5f5a0dc9edbe
--- /dev/null
+++ b/cad/irsim/files/patch-src-other-h2a-h2a.c
@@ -0,0 +1,10 @@
+--- src/other/h2a/h2a.c.orig Sun Oct 8 13:26:06 2006
++++ src/other/h2a/h2a.c Sun Oct 8 13:26:09 2006
+@@ -32,6 +32,7 @@
+ public void make_stacks( n ) nptr n; {}
+ public void pStackedTxtors() {}
+
++private Usage();
+
+ private char *sim_file = NULL;
+ private char *hist_file = NULL;
diff --git a/cad/irsim/files/patch-src-other-h2a-sort.c b/cad/irsim/files/patch-src-other-h2a-sort.c
new file mode 100644
index 000000000000..f9e5a6844bff
--- /dev/null
+++ b/cad/irsim/files/patch-src-other-h2a-sort.c
@@ -0,0 +1,10 @@
+--- src/other/h2a/sort.c.orig Sun Oct 8 13:27:07 2006
++++ src/other/h2a/sort.c Sun Oct 8 13:27:10 2006
+@@ -17,6 +17,7 @@
+ static phist *dataBuff;
+ static phist *dataBuff1;
+
++static BucketSort();
+
+ /*
+ * Sort the edge array pointed to by 'lineBuff'. Return a pointer to a
diff --git a/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c b/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c
new file mode 100644
index 000000000000..f9adca4cee12
--- /dev/null
+++ b/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c
@@ -0,0 +1,10 @@
+--- src/other/inet2sim/inet2sim.c.orig Sun Oct 8 13:27:47 2006
++++ src/other/inet2sim/inet2sim.c Sun Oct 8 13:28:02 2006
+@@ -22,6 +22,7 @@
+ private char *inet_file = NULL;
+ private void sort_node_names();
+
++private Usage();
+
+ main( argc, argv )
+ int argc;