Files
pkgsrc-ng/textproc/libxml2/patches/patch-ag
2016-01-21 23:41:46 +01:00

15 lines
361 B
Plaintext

$NetBSD: patch-ag,v 1.12 2015/04/24 11:32:29 spz Exp $
--- encoding.c.orig 2014-10-03 11:53:06.000000000 +0000
+++ encoding.c
@@ -1433,6 +1433,9 @@ xmlInitCharEncodingHandlers(void) {
xmlRegisterCharEncodingHandlersISO8859x ();
#endif
#endif
+#ifdef __NetBSD__ /* XXX needed by selftest */
+ xmlAddEncodingAlias("CP1141", "IBM-1141");
+#endif
}