Files
pkgsrc-ng/textproc/libxml2/patches/patch-ag
2013-09-26 17:14:40 +02:00

15 lines
362 B
Plaintext

$NetBSD: patch-ag,v 1.11 2012/09/15 10:23:38 adam Exp $
--- encoding.c.orig 2009-09-24 17:31:59.000000000 +0200
+++ encoding.c
@@ -1433,6 +1433,9 @@ xmlInitCharEncodingHandlers(void) {
xmlRegisterCharEncodingHandlersISO8859x ();
#endif
#endif
+#ifdef __NetBSD__ /* XXX needed by selftest */
+ xmlAddEncodingAlias("CP1141", "IBM-1141");
+#endif
}