pkgsrc/textproc/libxml2/patches/patch-ag
drochner 1582a02329 remove most of the hacks which were only to make the selftest
succeed, now that EBCDIC support in NetBSD-current was improved
(see PR lib/42209)
2009-11-15 12:48:24 +00:00

14 lines
365 B
Text

$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
@@ -1376,6 +1376,9 @@ xmlInitCharEncodingHandlers(void) {
xmlRegisterCharEncodingHandlersISO8859x ();
#endif
#endif
+#ifdef __NetBSD__ /* XXX needed by selftest */
+ xmlAddEncodingAlias("CP1141", "IBM-1141");
+#endif
}