freebsd-ports/textproc/xerces-c27/files/patch-ab
Edwin Groothuis 384325efe4 iMAINTAINER-UPDATE: textproc/xerces-c2
Apache XML project has release a new version of xerces-c.

	Please see http://xml.apache.org/xerces-c/releases.html for
	more information.

PR:		ports/53348
Submitted by:	Bjoern A. Zeeb <bzeeb+freebsdports@zabbadoz.net>
2003-08-23 13:12:45 +00:00

38 lines
1.2 KiB
Text

--- src/xercesc/dom/impl/DOMDeepNodeListPool.c Tue Jun 17 22:09:06 2003
+++ src.cvs/xercesc/dom/impl/DOMDeepNodeListPool.c Tue Jun 17 22:09:39 2003
@@ -90,7 +90,11 @@
initialize(modulus);
// create default hasher
+#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
+ fHash = new HashPtr();
+#else
fHash = new (fMemoryManager) HashPtr();
+#endif
//
// Allocate the initial id pointers array. We don't have to zero them
--- src/xercesc/util/RefHash3KeysIdPool.c Tue Jun 17 22:12:13 2003
+++ src.cvs/xercesc/util/RefHash3KeysIdPool.c Sun Jun 15 09:57:39 2003
@@ -56,6 +56,9 @@
/**
* $Log: RefHash3KeysIdPool.c,v $
+ * Revision 1.6 2003/06/02 15:18:08 neilg
+ * fix for bug #20092; thanks to Berin Lautenbach
+ *
* Revision 1.5 2003/05/21 21:08:04 knoaman
* gcc 2.95.x is generating an internal error for some template definitions, so
* we use the default memory manger in such cases.
@@ -118,7 +121,11 @@
initialize(modulus);
// create default hasher
+#if defined (XML_GCC_VERSION) && (XML_GCC_VERSION < 29600)
+ fHash = new HashXMLCh();
+#else
fHash = new (fMemoryManager) HashXMLCh();
+#endif
//
// Allocate the initial id pointers array. We don't have to zero them