diff options
author | uebayasi <uebayasi> | 2004-04-20 14:21:19 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2004-04-20 14:21:19 +0000 |
commit | 71a25c608a210a820184ccafa4faa1d0dd03e6b0 (patch) | |
tree | 3d20c2065eb7e3f317409e067312e4271d32d706 /www/w3m/patches | |
parent | 2197244a077a689fde27e7ac01d593f344ee4327 (diff) | |
download | pkgsrc-71a25c608a210a820184ccafa4faa1d0dd03e6b0.tar.gz |
Fix "M17N without Unicode".
Diffstat (limited to 'www/w3m/patches')
-rw-r--r-- | www/w3m/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
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; + } |