summaryrefslogtreecommitdiff
path: root/textproc/xerces-c
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-03-22 17:04:13 +0000
committerkristerw <kristerw@pkgsrc.org>2004-03-22 17:04:13 +0000
commit59129cb6cc42195c1b97324e8d5547933dbe2d2e (patch)
treef1769b0e6a6ee16fedf59ec0da5c46529d20b2df /textproc/xerces-c
parent7fd6f3acb3ab250ceac11d132927cdf2ce2c3346 (diff)
downloadpkgsrc-59129cb6cc42195c1b97324e8d5547933dbe2d2e.tar.gz
Work around "internal compiler errors" for gcc 2.95.3 on i386.
Diffstat (limited to 'textproc/xerces-c')
-rw-r--r--textproc/xerces-c/distinfo4
-rw-r--r--textproc/xerces-c/patches/patch-ad24
-rw-r--r--textproc/xerces-c/patches/patch-ae24
3 files changed, 51 insertions, 1 deletions
diff --git a/textproc/xerces-c/distinfo b/textproc/xerces-c/distinfo
index b6af61a1a82..4aa1bf7f5cd 100644
--- a/textproc/xerces-c/distinfo
+++ b/textproc/xerces-c/distinfo
@@ -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 --git a/textproc/xerces-c/patches/patch-ad b/textproc/xerces-c/patches/patch-ad
new file mode 100644
index 00000000000..3ac7ffe32ac
--- /dev/null
+++ b/textproc/xerces-c/patches/patch-ad
@@ -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 --git a/textproc/xerces-c/patches/patch-ae b/textproc/xerces-c/patches/patch-ae
new file mode 100644
index 00000000000..8fb25be3076
--- /dev/null
+++ b/textproc/xerces-c/patches/patch-ae
@@ -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>