aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/nkf
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2001-11-14 09:58:05 +0800
committermax <max@FreeBSD.org>2001-11-14 09:58:05 +0800
commit551868509beabb43dbf0931dd1e69b9e5da56f26 (patch)
tree595022ad965302360e75417bd47902800d1ad187 /japanese/nkf
parent8e6222cc1af98fa782492630bee7ffd2c0166001 (diff)
downloadfreebsd-ports-gnome-551868509beabb43dbf0931dd1e69b9e5da56f26.tar.gz
freebsd-ports-gnome-551868509beabb43dbf0931dd1e69b9e5da56f26.tar.zst
freebsd-ports-gnome-551868509beabb43dbf0931dd1e69b9e5da56f26.zip
Add patch to fix a bug that often causes misconversion.
(Note that PORTREVISION has been bumped.) Submitted by: nork@cityfujisawa.ne.jp (Norikatsu Shigemura)
Diffstat (limited to 'japanese/nkf')
-rw-r--r--japanese/nkf/Makefile3
-rw-r--r--japanese/nkf/files/patch-ab10
2 files changed, 12 insertions, 1 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
index f5a95e3bfa3b..d779d127f243 100644
--- a/japanese/nkf/Makefile
+++ b/japanese/nkf/Makefile
@@ -7,10 +7,11 @@
PORTNAME= nkf
PORTVERSION= 1.92
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/
-EXTRACT_SUFX= .shar
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
+EXTRACT_SUFX= .shar
MAINTAINER= max@FreeBSD.org
diff --git a/japanese/nkf/files/patch-ab b/japanese/nkf/files/patch-ab
new file mode 100644
index 000000000000..a20fa199fe2b
--- /dev/null
+++ b/japanese/nkf/files/patch-ab
@@ -0,0 +1,10 @@
+--- nkf.c.orig Tue Nov 13 19:31:36 2001
++++ nkf.c Tue Nov 13 19:34:02 2001
+@@ -1670,6 +1670,7 @@
+ if (0x21==c1) {
+ if (alpha_f&0x2) {
+ c1 = ' ';
++ c2 = 0;
+ } else if (alpha_f&0x4) {
+ (*o_zconv)(0,' ');
+ (*o_zconv)(0,' ');