Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 18:16:15 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb+freebsdports@zabbadoz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   ports/71085: [MAINTAINER] gcc build problem patch for failed xerces-c2-2.5.0_2
Message-ID:  <20040828181615.2F5AB15384@mail.int.zabbadoz.net>
Resent-Message-ID: <200408281820.i7SIKMPj010072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71085
>Category:       ports
>Synopsis:       [MAINTAINER] gcc build problem patch for failed xerces-c2-2.5.0_2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 28 18:20:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern A. Zeeb
>Release:        FreeBSD 5.2-CURRENT amd64
>Organization:
Zabbadoz.NeT
>Environment:
System: FreeBSD noc.int.zabbadoz.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Aug 16 18:27:45 UTC 2004 bz@noc.int.zabbadoz.net:/local/building/src+ports/src/obj/local/building/freebsd/i4b/src/sys/AMD64-20040816-01 amd64

>Description:
	> FYI; can you please investigate and/or report to the developers?  Many
	> of the recent port failures on 5.x are caused by the import of gcc
	> 3.4.2, which is much stricter about the code it accepts.
	..
	> building xerces-c2-2.5.0_2 on gohan29.freebsd.org
	> in directory /x/tmp/5/chroot/46643
	> port directory: /usr/ports/textproc/xerces-c2

>How-To-Repeat:
	try to build the port with up-to-date gcc

>Fix:

following patch makes it compile with newer gcc (at least on my amd64).
I directly got the patch from xerces-c CVS.

You can find a copy of the patch at
http://sources.zabbadoz.net/freebsd/ports/xerces-c2-2.5.0_2.patch-ac

I did not change the PORTREVISION as there is no functional change.

please add the file to textproc/xerces-c2/files/ as patch-ac


--- cut ---
!
! http://cvs.apache.org/viewcvs.cgi/xml-xerces/c/src/xercesc/util/RefArrayOf.hpp?r1=1.6&r2=1.7
!
--- src/xercesc/util/RefArrayOf.hpp	2004/01/29 11:48:46	1.6
+++ src/xercesc/util/RefArrayOf.hpp	2004/06/23 22:19:35	1.7
@@ -56,6 +56,9 @@
 
 /*
  * $Log: RefArrayOf.hpp,v $
+ * Revision 1.7  2004/06/23 22:19:35  neilg
+ * fix for compilation under gcc 3.5
+ *
  * Revision 1.6  2004/01/29 11:48:46  cargilld
  * Code cleanup changes to get rid of various compiler diagnostic messages.
  *
@@ -101,6 +104,7 @@
 #include <xercesc/util/ArrayIndexOutOfBoundsException.hpp>
 #include <xercesc/util/IllegalArgumentException.hpp>
 #include <xercesc/util/XMLEnumerator.hpp>
+#include <xercesc/framework/MemoryManager.hpp>
 
 XERCES_CPP_NAMESPACE_BEGIN
 
--- cut ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828181615.2F5AB15384>