diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-10-08 13:38:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-10-08 13:38:30 +0000 |
commit | 98abfad6dfd824d5f08c50deef8ea0dcdd8b7079 (patch) | |
tree | 6efc0e7a55668a70dc9d954e38e8e02b074c288b /cad | |
parent | 8cf93dd5e8c95a55a003d0e30cf48b2a8531cce0 (diff) | |
download | ports-98abfad6dfd824d5f08c50deef8ea0dcdd8b7079.tar.gz ports-98abfad6dfd824d5f08c50deef8ea0dcdd8b7079.zip |
- Fix build with gcc41
PR: ports/104158
Submitted by: trasz <trasz@pin.if.uz.zgora.pl>
Notes
Notes:
svn path=/head/; revision=174932
Diffstat (limited to 'cad')
-rw-r--r-- | cad/irsim/files/patch-src-irsim-rsim.c | 20 | ||||
-rw-r--r-- | cad/irsim/files/patch-src-irsim-subckt.c | 10 | ||||
-rw-r--r-- | cad/irsim/files/patch-src-other-h2a-h2a.c | 10 | ||||
-rw-r--r-- | cad/irsim/files/patch-src-other-h2a-sort.c | 10 | ||||
-rw-r--r-- | cad/irsim/files/patch-src-other-inet2sim-inet2sim.c | 10 |
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; |