summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xerces-c/patches/patch-ao')
-rw-r--r--textproc/xerces-c/patches/patch-ao33
1 files changed, 12 insertions, 21 deletions
diff --git a/textproc/xerces-c/patches/patch-ao b/textproc/xerces-c/patches/patch-ao
index da5ec432ad7..ac653a39d7d 100644
--- a/textproc/xerces-c/patches/patch-ao
+++ b/textproc/xerces-c/patches/patch-ao
@@ -1,23 +1,14 @@
-$NetBSD: patch-ao,v 1.3 2005/12/31 00:56:42 joerg Exp $
+$NetBSD: patch-ao,v 1.4 2006/08/10 13:44:22 abs Exp $
---- runConfigure.orig 2005-12-31 00:00:43.000000000 +0000
-+++ runConfigure
-@@ -227,7 +227,7 @@ echo "Extra configure options: $configur
- #
+--- util/RefHash3KeysIdPool.c.orig 2005-09-07 16:55:51.000000000 +0100
++++ util/RefHash3KeysIdPool.c
+@@ -97,6 +97,9 @@ RefHash3KeysIdPool<TVal>::RefHash3KeysId
+ fIdPtrsCount = 256;
+ fIdPtrs = (TVal**) fMemoryManager->allocate(fIdPtrsCount * sizeof(TVal*)); //new TVal*[fIdPtrsCount];
+ fIdPtrs[0] = 0;
++
++ // create default hasher
++ fHash = new (fMemoryManager) HashXMLCh();
+ }
- case $platform in
-- aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin | qnx)
-+ aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | irix | ptx | tru64 | macosx | cygwin | qnx | dragonfly)
- # platform has been recognized
- ;;
- *)
-@@ -305,6 +305,9 @@ else
- elif test $platform = "freebsd"; then
- threadingLibs="-pthread -lc_r"
- threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
-+ elif test $platform = "dragonfly"; then
-+ threadingLibs="-pthread -lc_r"
-+ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
- elif test $platform = "netbsd"; then
- threadingLibs="-pthread -lpthread"
- threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
+ template <class TVal>