freebsd-ports/textproc/xerces-c27/files/patch-ab

39 lines
1.2 KiB
Text
Raw Normal View History

--- 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