Date: Fri, 18 Mar 2005 01:47:09 GMT From: Douglas Thrift <douglas@douglasthrift.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/78973: Update port: textproc/xalan-c Wasn't building on 5.3 Message-ID: <200503180147.j2I1l9Qc073297@www.freebsd.org> Resent-Message-ID: <200503180150.j2I1o2Ut035990@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 78973
>Category: misc
>Synopsis: Update port: textproc/xalan-c Wasn't building on 5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 18 01:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503180147.j2I1l9Qc073297>
