From nobody@FreeBSD.org  Fri Mar 18 01:47:09 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 911C816A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Mar 2005 01:47:09 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7095343D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Mar 2005 01:47:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j2I1l9ep073298
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 18 Mar 2005 01:47:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j2I1l9Qc073297;
	Fri, 18 Mar 2005 01:47:09 GMT
	(envelope-from nobody)
Message-Id: <200503180147.j2I1l9Qc073297@www.freebsd.org>
Date: Fri, 18 Mar 2005 01:47:09 GMT
From: Douglas Thrift <douglas@douglasthrift.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: textproc/xalan-c Wasn't building on 5.3
X-Send-Pr-Version: www-2.3

>Number:         78973
>Category:       ports
>Synopsis:       Update port: textproc/xalan-c Wasn't building on 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 18 01:50:02 GMT 2005
>Closed-Date:    Mon Mar 21 11:08:25 GMT 2005
>Last-Modified:  Mon Mar 21 11:08:25 GMT 2005
>Originator:     Douglas Thrift
>Release:        5.3-RELEASE
>Organization:
>Environment:
FreeBSD daemon.douglasthrift.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Tue Dec 28 22:10:37 PST 2004     douglas@daemon.douglasthrift.net:/usr/obj/usr/src/sys/DAEMONIC  i386
>Description:
Xalan-C++ has code that will not compile with GCC 3.4, this patch makes the build use GCC 3.2 on versions of FreeBSD >= 5.3.
>How-To-Repeat:
      
>Fix:
diff -ruN /usr/ports/textproc/xalan-c/Makefile ./xalan-c/Makefile
--- /usr/ports/textproc/xalan-c/Makefile	Tue Mar  8 02:18:49 2005
+++ ./xalan-c/Makefile	Thu Mar 10 23:18:10 2005
@@ -57,6 +57,10 @@
 MAKE_ENV+=		XALANCROOT=${WRKSRC}
 MAKE_ENV+=		XERCESCROOT=${XERCESCROOT}
 
+.if ( ${OSVERSION} >= 503001 )
+USE_GCC=		3.2
+.endif
+
 .if ( ${OSVERSION} < 500000 )
 EXTRA_CFLAGS=		-ftemplate-depth-20
 .endif

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Mar 18 05:15:28 GMT 2005 
Responsible-Changed-Why:  
This is a ports PR. 

Note to submitter: it makes things go faster if you Cc: the maintainer. 

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

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: freebsd-gnats-submit@FreeBSD.org, douglas@douglasthrift.net
Cc: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Subject: Re: ports/78973: Update port: textproc/xalan-c Wasn't building on
 5.3
Date: Fri, 18 Mar 2005 07:04:41 +0000 (UTC)

 Luckily maintainer reads freebsd-bugs ;)
 
 I had built on FreeBSD 5.3-STABLE just before 5.4-PRERELEASE.
 I will re-check that it builds on 5.4-PRERELEASE or what went wrong.
 
 PS: the last lines of the build that error out would have been good to
     see in the PR for a quick analysis.
Responsible-Changed-From-To: freebsd-ports-bugs->bz 
Responsible-Changed-By: vs 
Responsible-Changed-When: Fri Mar 18 08:34:04 GMT 2005 
Responsible-Changed-Why:  
I know that Bjoern knows how GNATS works :) 

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

From: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To: Cc: freebsd-gnats-submit@FreeBSD.org, douglas@douglasthrift.net,
	"Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Subject: Re: ports/78973: Update port: textproc/xalan-c Wasn't building on
 5.3
Date: Fri, 18 Mar 2005 08:36:41 +0000 (UTC)

 On Fri, 18 Mar 2005, Bjoern A. Zeeb wrote:
 
 Hi,
 
 > I had built on FreeBSD 5.3-STABLE just before 5.4-PRERELEASE.
 > I will re-check that it builds on 5.4-PRERELEASE or what went wrong.
 
 tested with
 	gcc version 3.4.2 [FreeBSD] 20040728
 and it cleanly compiles.
 
 > PS: the last lines of the build that error out would have been good to
 >     see in the PR for a quick analysis.
 
 I'd really need this and perhaps your config and ident of Makefile
 to reproduce the problem.
 
 -- 
 Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

From: Douglas William Thrift <douglas@douglasthrift.net>
To: "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/78973: Update port: textproc/xalan-c Wasn't building on
	5.3
Date: Sun, 20 Mar 2005 16:21:01 -0800

 On Fri, 2005-03-18 at 08:36 +0000, Bjoern A. Zeeb wrote:
 > On Fri, 18 Mar 2005, Bjoern A. Zeeb wrote:
 > 
 > Hi,
 > 
 > > I had built on FreeBSD 5.3-STABLE just before 5.4-PRERELEASE.
 > > I will re-check that it builds on 5.4-PRERELEASE or what went wrong.
 > 
 > tested with
 > 	gcc version 3.4.2 [FreeBSD] 20040728
 > and it cleanly compiles.
 > 
 > > PS: the last lines of the build that error out would have been good to
 > >     see in the PR for a quick analysis.
 > 
 > I'd really need this and perhaps your config and ident of Makefile
 > to reproduce the problem.
 > 
 
 Upon further inspection, I've discovered that the problem was caused by
 having the previous 1.8 version of Xalan-C++ still installed. So I guess
 you can close this.
 -- 
 _______________________________________________________________________
 Douglas William Thrift
 <douglas@douglasthrift.net>
 <http://www.douglasthrift.net/>
 
State-Changed-From-To: open->closed 
State-Changed-By: bz 
State-Changed-When: Mon Mar 21 11:06:37 GMT 2005 
State-Changed-Why:  
Submitter found problem and PR may be closed. 

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