aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-nkf
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2001-11-14 01:58:05 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2001-11-14 01:58:05 +0000
commit323c0cf990009837135acc3aa46e238ab18b1136 (patch)
tree43e122b209c9131a0eb98b90f830dfc02002548e /japanese/p5-nkf
parentc20792651287362e39af2f9e6cdbd26f847a8585 (diff)
downloadports-323c0cf990009837135acc3aa46e238ab18b1136.tar.gz
ports-323c0cf990009837135acc3aa46e238ab18b1136.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)
Notes
Notes: svn path=/head/; revision=49999
Diffstat (limited to 'japanese/p5-nkf')
-rw-r--r--japanese/p5-nkf/Makefile1
-rw-r--r--japanese/p5-nkf/files/patch-ab10
2 files changed, 11 insertions, 0 deletions
diff --git a/japanese/p5-nkf/Makefile b/japanese/p5-nkf/Makefile
index 8583330efcff..022c075e8cf1 100644
--- a/japanese/p5-nkf/Makefile
+++ b/japanese/p5-nkf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nkf
PORTVERSION= 1.92
+PORTREVISION= 1
CATEGORIES= japanese perl5
MASTER_SITES= ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/
PKGNAMEPREFIX= ja-p5-
diff --git a/japanese/p5-nkf/files/patch-ab b/japanese/p5-nkf/files/patch-ab
new file mode 100644
index 000000000000..a20fa199fe2b
--- /dev/null
+++ b/japanese/p5-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,' ');