summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2/patches/patch-ag')
-rw-r--r--textproc/libxml2/patches/patch-ag13
1 files changed, 2 insertions, 11 deletions
diff --git a/textproc/libxml2/patches/patch-ag b/textproc/libxml2/patches/patch-ag
index 4069997ff6c..0583f26871e 100644
--- a/textproc/libxml2/patches/patch-ag
+++ b/textproc/libxml2/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.7 2009/10/21 14:55:32 drochner Exp $
+$NetBSD: patch-ag,v 1.8 2009/11/15 12:48:25 drochner Exp $
--- encoding.c.orig 2009-09-24 17:31:59.000000000 +0200
+++ encoding.c
@@ -7,17 +7,8 @@ $NetBSD: patch-ag,v 1.7 2009/10/21 14:55:32 drochner Exp $
#endif
#endif
+#ifdef __NetBSD__ /* XXX needed by selftest */
-+ xmlAddEncodingAlias("IBM273", "IBM-1141");
++ xmlAddEncodingAlias("CP1141", "IBM-1141");
+#endif
}
-@@ -1454,6 +1457,8 @@ xmlGetCharEncodingHandler(xmlCharEncodin
- case XML_CHAR_ENCODING_UTF16BE:
- return(xmlUTF16BEHandler);
- case XML_CHAR_ENCODING_EBCDIC:
-+ handler = xmlFindCharEncodingHandler("IBM500");
-+ if (handler != NULL) return(handler);
- handler = xmlFindCharEncodingHandler("EBCDIC");
- if (handler != NULL) return(handler);
- handler = xmlFindCharEncodingHandler("ebcdic");