ports/104158: [PATCH] cad/irsim: fix build with gcc41.
trasz
trasz at pin.if.uz.zgora.pl
Sun Oct 8 11:40:39 UTC 2006
>Number: 104158
>Category: ports
>Synopsis: [PATCH] cad/irsim: fix build with gcc41.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 08 11:40:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: trasz
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun 3 01:12:10 CEST
>Description:
Fix build with gcc41.
(http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006100419/irsim-9.5_1.log)
Added file(s):
- files/patch-src-irsim-rsim.c
- files/patch-src-irsim-subckt.c
- files/patch-src-other-h2a-h2a.c
- files/patch-src-other-h2a-sort.c
- files/patch-src-other-inet2sim-inet2sim.c
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- irsim-9.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/cad/irsim/files/patch-src-irsim-rsim.c /home/trasz/irsim/files/patch-src-irsim-rsim.c
--- /usr/ports/cad/irsim/files/patch-src-irsim-rsim.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/irsim/files/patch-src-irsim-rsim.c Sun Oct 8 13:35:56 2006
@@ -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 -ruN --exclude=CVS /usr/ports/cad/irsim/files/patch-src-irsim-subckt.c /home/trasz/irsim/files/patch-src-irsim-subckt.c
--- /usr/ports/cad/irsim/files/patch-src-irsim-subckt.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/irsim/files/patch-src-irsim-subckt.c Sun Oct 8 13:35:56 2006
@@ -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 -ruN --exclude=CVS /usr/ports/cad/irsim/files/patch-src-other-h2a-h2a.c /home/trasz/irsim/files/patch-src-other-h2a-h2a.c
--- /usr/ports/cad/irsim/files/patch-src-other-h2a-h2a.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/irsim/files/patch-src-other-h2a-h2a.c Sun Oct 8 13:35:56 2006
@@ -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 -ruN --exclude=CVS /usr/ports/cad/irsim/files/patch-src-other-h2a-sort.c /home/trasz/irsim/files/patch-src-other-h2a-sort.c
--- /usr/ports/cad/irsim/files/patch-src-other-h2a-sort.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/irsim/files/patch-src-other-h2a-sort.c Sun Oct 8 13:35:56 2006
@@ -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 -ruN --exclude=CVS /usr/ports/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c /home/trasz/irsim/files/patch-src-other-inet2sim-inet2sim.c
--- /usr/ports/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c Thu Jan 1 01:00:00 1970
+++ /home/trasz/irsim/files/patch-src-other-inet2sim-inet2sim.c Sun Oct 8 13:35:56 2006
@@ -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;
--- irsim-9.5_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list