From root@hammy.lonestar.org  Sun Apr 13 10:53:29 2003
Return-Path: <root@hammy.lonestar.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A64B837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Apr 2003 10:53:29 -0700 (PDT)
Received: from hammy.lonestar.org (hammy.lonestar.org [206.138.224.67])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3F35943FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Apr 2003 10:53:29 -0700 (PDT)
	(envelope-from root@hammy.lonestar.org)
Received: from root by hammy.lonestar.org with local (Exim 4.10)
	id 194lfS-000P7v-00; Sun, 13 Apr 2003 12:53:26 -0500
Message-Id: <E194lfS-000P7v-00@hammy.lonestar.org>
Date: Sun, 13 Apr 2003 12:53:26 -0500
From: Gordon Burditt <gordon@hammy.lonestar.org>
Reply-To: Gordon Burditt <gordon@hammy.lonestar.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gordon@hammy.lonestar.org
Subject: libofx 0.6.4 fails to compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50907
>Category:       ports
>Synopsis:       libofx 0.6.4 fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 11:00:33 PDT 2003
>Closed-Date:    Sun Apr 13 12:33:15 PDT 2003
>Last-Modified:  Sun Apr 13 12:33:15 PDT 2003
>Originator:     Gordon Burditt
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hammy.lonestar.org 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Wed Feb 19 01:29:17 CST 2003 gordon@hammy.lonestar.org:/scratch5/i386-obj/usr/src/sys/HAMMY i386


	
	FreeBSD 4.7-RELEASE, gcc 2.95.4
>Description:
	
	libofx 0.6.4 fails to compile with a complaint about
	implicit definition of localeconv() and use of a non-pointer
	(the return value of localeconv()) to the left of -> 
	in ofx_utilities.cpp.
>How-To-Repeat:
	
	cd /usr/ports/finance/libofx; make
>Fix:

	
	Apply the following patch:

*** lib/ofx_utilities.old	Sun Apr 13 12:39:29 2003
--- lib/ofx_utilities.cpp	Sun Apr 13 12:11:04 2003
***************
*** 16,21 ****
--- 16,22 ----
   *                                                                         *
   ***************************************************************************/
  #include <config.h>
+ #include <locale.h>
  #include <iostream>
  #include "ParserEventGeneratorKit.h"
  #include "SGMLApplication.h"


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Apr 13 12:33:04 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

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