From MAILER-DAEMON  Thu Dec 11 13:28:40 2003
Return-Path: <>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D764316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 2003 13:28:40 -0800 (PST)
Received: from smtp10.hy.skanova.net (smtp10.hy.skanova.net [195.67.199.143])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5C20943D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 2003 13:28:39 -0800 (PST)
	(envelope-from "")
Received: from fetis.ninja.se (h77n3fls21o1076.bredband.comhem.se [81.224.171.77])
	by smtp10.hy.skanova.net (8.12.10/8.12.10) with ESMTP id hBBLSbi6026537
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 2003 22:28:37 +0100 (CET)
Message-Id: <1071178122@fetis.ninja.se>
Date: Thu, 11 Dec 2003 22:28:53 +0100
From: "Joachim Strombergson" <watchman@ludd.luth.se>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update of Icarus Verilog to 2003-12-02 snapshot (this fixes the broken port)
X-Send-Pr-Version: gtk-send-pr 0.2 
X-GNATS-Notify:

>Number:         60162
>Category:       ports
>Synopsis:       Update of Icarus Verilog to 2003-12-02 snapshot (this fixes the broken port)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 13:30:03 PST 2003
>Closed-Date:    Wed Dec 17 08:04:36 PST 2003
>Last-Modified:  Wed Dec 17 08:04:36 PST 2003
>Originator:     Joachim Strombergson
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:


System: FreeBSD fetis.ninja.se 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Nov 15 16:16:05 CET 2003     root@fetis.ninja.se:/usr/obj/usr/src/sys/ATHLON i386


>Description:


The port of Icarus Verilog have been broken for a while with a problem upstream. I have been in contact with the author of Icarus Verilog who has now released a new development snapshot of the port. I have created patches that updates the port to the snapshot and have tested it on CURRENT.

The problem seen with PLI_UINT64 have been fixed. Additionally the snapshot adds several nerw functions for FPGA development.

NOTE: The patches and thereby the port have not been tested on STABLE.



>How-To-Repeat:


Apply the included patches.



>Fix:


--- distinfo.patch begins here ---
--- distinfo	Sat Nov 15 14:07:22 2003
+++ distinfo	Thu Dec 11 21:06:19 2003
@@ -1 +1 @@
-MD5 (verilog-20031009.tar.gz) = d4d78212b4f7dde22555cdac5a52b468
+MD5 (verilog-20031202.tar.gz) = 14401d3da60ee3da3043523684fbb442
--- distinfo.patch ends here ---

--- Makefile.patch begins here ---
--- Makefile	Mon Nov 24 18:35:20 2003
+++ Makefile	Thu Dec 11 21:03:58 2003
@@ -7,15 +7,13 @@
 #
 
 PORTNAME=	iverilog
-PORTVERSION=	0.7.20031009
+PORTVERSION=	0.7.20031202
 CATEGORIES=	cad
 MASTER_SITES=	ftp://icarus.com/pub/eda/verilog/snapshots/
-DISTNAME=	verilog-20031009
+DISTNAME=	verilog-20031202
 
 MAINTAINER=	watchman@ludd.luth.se
 COMMENT=	A Verilog simulation and synthesis tool
-
-BROKEN=		"fails to compile - missing definition of TIME_FMT"
 
 USE_BISON=	yes
 USE_GMAKE=	yes
--- Makefile.patch ends here ---

--- pkg-plist.patch begins here ---
---pkg-plist	Sat Nov 15 14:07:23 2003
+++ pkg-plist	Thu Dec 11 22:05:44 2003
@@ -5,14 +5,24 @@
 include/ivl_target.h
 include/veriuser.h
 include/vpi_user.h
+include/_pli_types.h
 lib/ivl/cadpli.vpl
+lib/ivl/fpga-s.conf
+lib/ivl/fpga.conf
 lib/ivl/fpga.tgt
-lib/ivl/iverilog.conf
 lib/ivl/ivl
 lib/ivl/ivlpp
+lib/ivl/null-s.conf
+lib/ivl/null.conf
 lib/ivl/null.tgt
 lib/ivl/system.vpi
+lib/ivl/vvp-s.conf
+lib/ivl/vvp.conf
 lib/ivl/vvp.tgt
+lib/ivl/xnf-s.conf
+lib/ivl/xnf.conf
 lib/libveriuser.a
 lib/libvpi.a
+man/man1/iverilog-fpga.1
 @dirrm lib/ivl
--- pkg-plist.patch ends here ---





>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Dec 11 13:31:43 PST 2003 
Responsible-Changed-Why:  
Since I worked on the predecessor PR to this, I'll take this 
one too. 

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

From: =?ISO-8859-1?Q?Joachim_Str=F6mbergson?= <watchman@ludd.luth.se>
To: freebsd-gnats-submit@FreeBSD.org, watchman@ludd.luth.se
Cc:  
Subject: Re: ports/60162: Update of Icarus Verilog to 2003-12-02 snapshot
 (this fixes the broken port)
Date: Thu, 11 Dec 2003 23:29:06 +0100

 Aloha!
 
 Darn, found a few errors in two of the patches when testing them on a 
 pristine machine. My bad.
 
 -- Makefile.patch begin here --
 --- Makefile.orig       Thu Dec 11 23:07:40 2003
 +++ Makefile    Thu Dec 11 23:09:20 2003
 @@ -7,20 +7,19 @@
   #
 
   PORTNAME=      iverilog
 -PORTVERSION=   0.7.20031009
 +PORTVERSION=   0.7.20031202
   CATEGORIES=    cad
   MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/snapshots/
 -DISTNAME=      verilog-20031009
 +DISTNAME=      verilog-20031202
 
   MAINTAINER=    watchman@ludd.luth.se
   COMMENT=       A Verilog simulation and synthesis tool
 
 -BROKEN=                "fails to compile - missing definition of TIME_FMT"
 
   USE_BISON=     yes
   USE_GMAKE=     yes
   GNU_CONFIGURE= yes
 
 -MAN1=          iverilog-vpi.1 iverilog.1 vvp.1
 +MAN1=          iverilog-vpi.1 iverilog.1 vvp.1 iverilog-fpga.1
 
   .include <bsd.port.mk>
 -- Makefile.patch end here --
 
 
 -- pkg-plist.patch begin here --
 --- pkg-plist   Thu Dec 11 23:21:58 2003
 +++ pkg-plist   Thu Dec 11 23:21:35 2003
 @@ -5,14 +5,20 @@
   include/ivl_target.h
   include/veriuser.h
   include/vpi_user.h
 +include/_pli_types.h
   lib/ivl/cadpli.vpl
   lib/ivl/fpga.tgt
 -lib/ivl/iverilog.conf
   lib/ivl/ivl
   lib/ivl/ivlpp
 +lib/ivl/null-s.conf
 +lib/ivl/null.conf
   lib/ivl/null.tgt
   lib/ivl/system.vpi
 +lib/ivl/vvp-s.conf
 +lib/ivl/vvp.conf
   lib/ivl/vvp.tgt
 +lib/ivl/xnf-s.conf
 +lib/ivl/xnf.conf
   lib/libveriuser.a
   lib/libvpi.a
   @dirrm lib/ivl
 -- pkg-plist.patch end here --
 
 -- 
 Med vnlig hlsning, Cheers!
 
 Joachim Strmbergson
 ============================================================================
 Joachim Strmbergson - ASIC designer, nice to *cute* animals.
      snail:                  phone:                     mail & web:
 Svensgatan 5A        +46 31 - 27 98 47          watchman@ludd.luth.se
 416 72 Gteborg        +46 733 75 97 02           www.ludd.luth.se/~watchman
 ============================================================================
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Dec 17 08:03:57 PST 2003 
State-Changed-Why:  
Committed (with 2 additional files in the plist), thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60162 
>Unformatted:
