From trasz@pin.if.uz.zgora.pl  Sun Oct  8 11:36:19 2006
Return-Path: <trasz@pin.if.uz.zgora.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1358216A47C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Oct 2006 11:36:19 +0000 (UTC)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: from pin.if.uz.zgora.pl (pin.if.uz.zgora.pl [212.109.128.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8E88A43D67
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Oct 2006 11:36:18 +0000 (GMT)
	(envelope-from trasz@pin.if.uz.zgora.pl)
Received: by pin.if.uz.zgora.pl (Postfix, from userid 1001)
	id 566A139DB8; Sun,  8 Oct 2006 13:36:41 +0200 (CEST)
Message-Id: <20061008113641.566A139DB8@pin.if.uz.zgora.pl>
Date: Sun,  8 Oct 2006 13:36:41 +0200 (CEST)
From: trasz <trasz@pin.if.uz.zgora.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] cad/irsim: fix build with gcc41.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         104158
>Category:       ports
>Synopsis:       [PATCH] cad/irsim: fix build with gcc41.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 08 11:40:21 GMT 2006
>Closed-Date:    Sun Oct 08 13:38:46 GMT 2006
>Last-Modified:  Sun Oct  8 13:40:19 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Oct 8 13:38:37 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104158 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/104158: commit references a PR
Date: Sun,  8 Oct 2006 13:38:37 +0000 (UTC)

 pav         2006-10-08 13:38:30 UTC
 
   FreeBSD ports repository
 
   Added files:
     cad/irsim/files      patch-src-irsim-rsim.c 
                          patch-src-irsim-subckt.c 
                          patch-src-other-h2a-h2a.c 
                          patch-src-other-h2a-sort.c 
                          patch-src-other-inet2sim-inet2sim.c 
   Log:
   - Fix build with gcc41
   
   PR:             ports/104158
   Submitted by:   trasz <trasz@pin.if.uz.zgora.pl>
   
   Revision  Changes    Path
   1.1       +20 -0     ports/cad/irsim/files/patch-src-irsim-rsim.c (new)
   1.1       +10 -0     ports/cad/irsim/files/patch-src-irsim-subckt.c (new)
   1.1       +10 -0     ports/cad/irsim/files/patch-src-other-h2a-h2a.c (new)
   1.1       +10 -0     ports/cad/irsim/files/patch-src-other-h2a-sort.c (new)
   1.1       +10 -0     ports/cad/irsim/files/patch-src-other-inet2sim-inet2sim.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
