From an@atrn.org  Mon May 19 14:45:01 2003
Return-Path: <an@atrn.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0D02C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 May 2003 14:45:01 -0700 (PDT)
Received: from mta02bw.bigpond.com (mta02bw.bigpond.com [144.135.24.138])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B523443FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 May 2003 14:44:59 -0700 (PDT)
	(envelope-from an@atrn.org)
Received: from juju.bsn ([144.135.24.81]) by mta02bw.bigpond.com
          (Netscape Messaging Server 4.15 mta02bw Jul 16 2002 22:47:55)
          with SMTP id HF5LQX00.1XV for
          <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 May 2003 07:44:57 +1000 
Received: from CPE-144-132-168-150.nsw.bigpond.net.au ([144.132.168.150]) by bwmam05bpa.bigpond.com(MailRouter V3.2g 44/20513374); 20 May 2003 07:44:57
Received: by juju.bsn (Postfix, from userid 1000)
	id ACD9C5D0F; Tue, 20 May 2003 07:44:56 +1000
Message-Id: <20030519214456.ACD9C5D0F@juju.bsn>
Date: Tue, 20 May 2003 07:44:56 +1000
From: Andy Newman <atrn@zeta.org.au>
Reply-To: Andy Newman <atrn@zeta.org.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix to ports/lang/ici build problem on 5-CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52444
>Category:       ports
>Synopsis:       Fix to ports/lang/ici build problem on 5-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 14:50:13 PDT 2003
>Closed-Date:    Sat Aug 23 05:51:57 PDT 2003
>Last-Modified:  Sat Aug 23 13:50:02 PDT 2003
>Originator:     Andy Newman
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD juju.bsn 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Fri Oct 11 11:48:04 EST 2002 toor@juju.bsn:/space/obj/usr/src/sys/juju i386


	
>Description:
Patch to fix build failures of lang/ici port on 5-CURRENT.  Note this
is UNTESTED (my 5-CURRENT machine disappeared last week) but the same
fix was required on other gcc 3.x using platforms (Mac OS X) and I am
assuming it will repair the brokeness.

>How-To-Repeat:

Patch the port as follows, adds a files/patch-conf-bsd.h file to
supply a necessary include to pick up the real float_t prior to
ICI defining its float_t.


diff -x CVS -PNru /usr/ports/lang/ici/files/patch-conf-bsd.h ./files/patch-conf-bsd.h
--- /usr/ports/lang/ici/files/patch-conf-bsd.h	Thu Jan  1 10:00:00 1970
+++ ./files/patch-conf-bsd.h	Tue May 20 07:14:24 2003
@@ -0,0 +1,10 @@
+--- old-conf-bsd.h	Tue May 20 07:13:49 2003
++++ conf-bsd.h	Tue May 20 07:13:58 2003
+@@ -1,6 +1,7 @@
+ #ifndef ICI_CONF_H
+ #define ICI_CONF_H
+ 
++#include <math.h>
+ #include <sys/param.h>
+ #undef isset
+ 


>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: erwin 
State-Changed-When: Sat Jun 21 03:32:33 PDT 2003 
State-Changed-Why:  
This still doesn't compile for me on -CURRENT 
http://people.freebsd.org/~erwin/ici.log 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52444 
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Aug 23 05:48:35 PDT 2003 
State-Changed-Why:  
The patch didn't work but the post-patch in the Makefile solved it. 
Please contact the author of the program, saying that float_t in 
his code should be replaced by floats_t to a. keep it consequent 
with the rest and b. keep it compilable on freebsd (and other sysems) 


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

From: Andy Newman <an@atrn.org>
To: freebsd-gnats-submit@FreeBSD.org, atrn@zeta.org.au
Cc:  
Subject: Re: ports/52444: Fix to ports/lang/ici build problem on 5-CURRENT
Date: Sun, 24 Aug 2003 06:39:10 +1000

 I am one of the authors and it's been fixed in v4 of ICI
 for some time.  A port of v4 needs to be done.
 --
 Andy Newman
 
>Unformatted:
