From cc6c7328581997cc8c002429d845cc64aaad2b34 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Tue, 20 Apr 2004 14:21:19 +0000 Subject: Fix "M17N without Unicode". --- www/w3m/patches/patch-ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/w3m/patches/patch-ac (limited to 'www/w3m/patches') diff --git a/www/w3m/patches/patch-ac b/www/w3m/patches/patch-ac new file mode 100644 index 00000000000..88acb0e3eea --- /dev/null +++ b/www/w3m/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.10 2004/04/20 14:21:19 uebayasi Exp $ + +--- libwc/detect.c.orig Tue Sep 23 06:02:23 2003 ++++ libwc/detect.c +@@ -63,7 +63,9 @@ wc_create_detect_map(wc_ces ces, wc_bool + for (i = 0; i < 0x20; i++) + WC_DETECT_MAP[i] = 0; + WC_DETECT_MAP[WC_C_HZ_TILDA] = (ces == WC_CES_HZ_GB_2312) ? 1 : 0; ++#ifdef USE_UNICODE + WC_DETECT_MAP[WC_C_UTF7_PLUS] = (ces == WC_CES_UTF_7) ? 1 : 0; ++#endif + } + detect_ces = ces; + } -- cgit v1.2.3