aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-Jcode
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-03-29 14:01:59 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-03-29 14:01:59 +0000
commit76602513f7df8584fe9910715fc1188406f5ad0b (patch)
tree70d845039a43ef4b485ac5e47eebbe693bbb7f0d /japanese/p5-Jcode
parent49f4b4d279a1c5478b1bc9c1952dbe5d4eae60ff (diff)
downloadports-76602513f7df8584fe9910715fc1188406f5ad0b.tar.gz
ports-76602513f7df8584fe9910715fc1188406f5ad0b.zip
Notes
Diffstat (limited to 'japanese/p5-Jcode')
-rw-r--r--japanese/p5-Jcode/Makefile1
-rw-r--r--japanese/p5-Jcode/files/patch-Jcode.pm20
2 files changed, 21 insertions, 0 deletions
diff --git a/japanese/p5-Jcode/Makefile b/japanese/p5-Jcode/Makefile
index a2b4885013f7..92f1d453694b 100644
--- a/japanese/p5-Jcode/Makefile
+++ b/japanese/p5-Jcode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Jcode
PORTVERSION= 0.83
+PORTREVISION= 1
CATEGORIES= japanese perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/D/DA/DANKOGAI
diff --git a/japanese/p5-Jcode/files/patch-Jcode.pm b/japanese/p5-Jcode/files/patch-Jcode.pm
new file mode 100644
index 000000000000..85215cb24e8e
--- /dev/null
+++ b/japanese/p5-Jcode/files/patch-Jcode.pm
@@ -0,0 +1,20 @@
+--- Jcode.pm.orig Mon Mar 29 20:49:24 2004
++++ Jcode.pm Mon Mar 29 20:50:01 2004
+@@ -198,7 +198,7 @@
+ folds lines in jcode string every $bytes_per_line (default: 72)
+ in a way that does not clobber the multibyte string.
+ (Sorry, no Kinsoku done!)
+-with a newline string spified by $newline_str (default: \n).
++with a newline string specified by $newline_str (default: \n).
+
+ =back
+
+@@ -210,7 +210,7 @@
+ $bpl ||= 72;
+ $nl ||= "\n";
+ my $r_str = $self->[0];
+- my (@lines, $len, $i);
++ my ($i, $len, @lines) = (0, 0);
+ while ($$r_str =~
+ m/($RE{EUC_0212}|$RE{EUC_KANA}|$RE{EUC_C}|[\x00-\xff])/sgo)
+ {