aboutsummaryrefslogtreecommitdiffstats
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
parent8e6222cc1af98fa782492630bee7ffd2c0166001 (diff)
downloadfreebsd-ports-graphics-551868509beabb43dbf0931dd1e69b9e5da56f26.tar.gz
freebsd-ports-graphics-551868509beabb43dbf0931dd1e69b9e5da56f26.tar.zst
freebsd-ports-graphics-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)
-rw-r--r--japanese/nkf/Makefile3
-rw-r--r--japanese/nkf/files/patch-ab10
-rw-r--r--japanese/p5-nkf/Makefile1
-rw-r--r--japanese/p5-nkf/files/patch-ab10
4 files changed, 23 insertions, 1 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile
index f5a95e3bfa3..d779d127f24 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 00000000000..a20fa199fe2
--- /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,' ');
diff --git a/japanese/p5-nkf/Makefile b/japanese/p5-nkf/Makefile
index 8583330efcf..022c075e8cf 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 00000000000..a20fa199fe2
--- /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,' ');