summaryrefslogtreecommitdiff
path: root/www/w3m/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-11 22:30:09 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-11 22:30:09 +0000
commit716fd173dcf80d5fc51a63730f5ae764f77dbf87 (patch)
tree87f87a501a97588c4ab7453e30a1717f56ec47a4 /www/w3m/patches
parent1d8128299ce114d5137db7b2d1a0857a5c968021 (diff)
downloadpkgsrc-716fd173dcf80d5fc51a63730f5ae764f77dbf87.tar.gz
Make this pkg build properly if W3M_USE_JAPANESE=no is in /etc/mk.conf.
Fixes PR 12186 by Michael van Elst <mlelstv@serpens.de>
Diffstat (limited to 'www/w3m/patches')
-rw-r--r--www/w3m/patches/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/w3m/patches/patch-af b/www/w3m/patches/patch-af
new file mode 100644
index 00000000000..462fe928a39
--- /dev/null
+++ b/www/w3m/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2001/02/11 22:30:09 hubertf Exp $
+
+--- file.c.orig Wed Jun 14 12:35:40 2000
++++ file.c
+@@ -5239,7 +5239,9 @@
+ Strcat(tmp, lineBuf2);
+ lineBuf2 = tmp;
+ }
++#ifdef CHARSET_JP
+ lineBuf2 = convertLine(&uf, lineBuf2, &code);
++#endif
+ lineBuf2 = checkType(lineBuf2->ptr, propBuffer, LINELEN);
+ len = lineBuf2->length;
+ l = New(Line);