aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2004-02-04 22:32:22 +0800
committernobutaka <nobutaka@FreeBSD.org>2004-02-04 22:32:22 +0800
commitef2bb887a2f6761f8916ca743f2c21ee8e2ef778 (patch)
treeabd9177e34d7433e8729c7d13413c1395cd1e5f0
parent0e3d70ffc0a5b23e9a707c33b0d33b9bf08c50c9 (diff)
downloadfreebsd-ports-gnome-ef2bb887a2f6761f8916ca743f2c21ee8e2ef778.tar.gz
freebsd-ports-gnome-ef2bb887a2f6761f8916ca743f2c21ee8e2ef778.tar.zst
freebsd-ports-gnome-ef2bb887a2f6761f8916ca743f2c21ee8e2ef778.zip
Fix the problem that text does not appear in input field with --disable-m17n
configure option. Reported by: Vasil Dimov <vd@datamax.bg>
-rw-r--r--www/w3m/Makefile2
-rw-r--r--www/w3m/files/patch-form.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 526ff06c65bf..eab90a36418d 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -7,7 +7,7 @@
PORTNAME= w3m
PORTVERSION= ${W3M_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= www ipv6
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nobutaka
diff --git a/www/w3m/files/patch-form.c b/www/w3m/files/patch-form.c
new file mode 100644
index 000000000000..d45d153b62a0
--- /dev/null
+++ b/www/w3m/files/patch-form.c
@@ -0,0 +1,11 @@
+--- form.c.orig Wed Feb 4 22:38:08 2004
++++ form.c Wed Feb 4 22:38:34 2004
+@@ -360,6 +360,8 @@
+ else {
+ if (w + c_width > width)
+ break;
++#else
++ } else {
+ #endif
+ buf[pos] = *p;
+ prop[pos] = effect | c_type;