summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-ai
blob: a84c9e74377a6865f878a1be688c75da511ae047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ai,v 1.2 2003/06/23 07:52:42 jlam Exp $

--- util/regx/XMLUniCharacter.cpp.orig	Thu Mar  7 14:45:32 2002
+++ util/regx/XMLUniCharacter.cpp
@@ -74,7 +74,7 @@
 #include <xercesc/util/regx/XMLUniCharacter.hpp>
 
 #if defined (XML_USE_ICU_TRANSCODER)
-   #include <unicode/unicode.h>
+   #include <unicode/uchar.h>
 #else
    #include <xercesc/util/regx/UniCharTable.hpp>
 #endif
@@ -85,7 +85,7 @@
 unsigned short XMLUniCharacter::getType(const XMLCh ch) {
 
 #if defined (XML_USE_ICU_TRANSCODER)
-	return (unsigned short) Unicode::getType(ch);
+	return (unsigned short) u_charType(ch);
 #else
 	return (unsigned short) fgUniCharsTable[ch];
 #endif