pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xerces-c Work around "internal compiler error...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc4da4fad854
branches:  trunk
changeset: 471248:bc4da4fad854
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Mon Mar 22 17:04:13 2004 +0000

description:
Work around "internal compiler errors" for gcc 2.95.3 on i386.

diffstat:

 textproc/xerces-c/distinfo         |   4 +++-
 textproc/xerces-c/patches/patch-ad |  24 ++++++++++++++++++++++++
 textproc/xerces-c/patches/patch-ae |  24 ++++++++++++++++++++++++
 3 files changed, 51 insertions(+), 1 deletions(-)

diffs (70 lines):

diff -r 170e17728c7d -r bc4da4fad854 textproc/xerces-c/distinfo
--- a/textproc/xerces-c/distinfo        Mon Mar 22 17:03:30 2004 +0000
+++ b/textproc/xerces-c/distinfo        Mon Mar 22 17:04:13 2004 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.5 2004/02/15 04:14:04 minskim Exp $
+$NetBSD: distinfo,v 1.6 2004/03/22 17:04:13 kristerw Exp $
 
 SHA1 (xerces-c-src_2_3_0.tar.gz) = ea47e1899d569344e7ff1ca09f31f725bbe92033
 Size (xerces-c-src_2_3_0.tar.gz) = 6885335 bytes
 SHA1 (patch-aa) = e72de819f840a867d17db1a8b5d0198213497c54
 SHA1 (patch-ab) = 673eee8137b79deae52297424a68293a00b53a91
 SHA1 (patch-ac) = fb187d0c5b7dbc09d31be8dea09c88bea755f87d
+SHA1 (patch-ad) = 9e6afe4ac10a34201f05198bb62829438de5dc7c
+SHA1 (patch-ae) = 8e9abade53b8b390fe1e0d00bfa037ebc01f9deb
diff -r 170e17728c7d -r bc4da4fad854 textproc/xerces-c/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xerces-c/patches/patch-ad        Mon Mar 22 17:04:13 2004 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.4 2004/03/22 17:04:13 kristerw Exp $
+
+--- dom/impl/DOMDeepNodeListPool.c.orig        Mon Mar 22 17:44:12 2004
++++ dom/impl/DOMDeepNodeListPool.c     Mon Mar 22 17:45:08 2004
+@@ -89,9 +89,6 @@
+ {
+     initialize(modulus);
+ 
+-    // create default hasher
+-    fHash = new (fMemoryManager) HashPtr();
+-
+     //
+     //  Allocate the initial id pointers array. We don't have to zero them
+     //  out since the fIdCounter value tells us which ones are valid. The
+@@ -102,6 +99,9 @@
+ 
+     fIdPtrs = (TVal**) fMemoryManager->allocate(fIdPtrsCount * sizeof(TVal*));//new TVal*[fIdPtrsCount];
+     fIdPtrs[0] = 0;
++
++    // create default hasher
++    fHash = new (fMemoryManager) HashPtr();
+ }
+ 
+ template <class TVal>
diff -r 170e17728c7d -r bc4da4fad854 textproc/xerces-c/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xerces-c/patches/patch-ae        Mon Mar 22 17:04:13 2004 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.4 2004/03/22 17:04:13 kristerw Exp $
+
+--- util/RefHash3KeysIdPool.c.orig     Mon Mar 22 17:54:00 2004
++++ util/RefHash3KeysIdPool.c  Mon Mar 22 17:54:25 2004
+@@ -117,9 +117,6 @@
+ {
+     initialize(modulus);
+ 
+-    // create default hasher
+-    fHash = new (fMemoryManager) HashXMLCh();
+-
+     //
+     //  Allocate the initial id pointers array. We don't have to zero them
+     //  out since the fIdCounter value tells us which ones are valid. The
+@@ -129,6 +126,9 @@
+         fIdPtrsCount = 256;
+     fIdPtrs = (TVal**) fMemoryManager->allocate(fIdPtrsCount * sizeof(TVal*)); //new TVal*[fIdPtrsCount];
+     fIdPtrs[0] = 0;
++
++    // create default hasher
++    fHash = new (fMemoryManager) HashXMLCh();
+ }
+ 
+ template <class TVal>



Home | Main Index | Thread Index | Old Index