diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-29 14:01:59 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-29 14:01:59 +0000 |
commit | 76602513f7df8584fe9910715fc1188406f5ad0b (patch) | |
tree | 70d845039a43ef4b485ac5e47eebbe693bbb7f0d /japanese/p5-Jcode | |
parent | 49f4b4d279a1c5478b1bc9c1952dbe5d4eae60ff (diff) | |
download | ports-76602513f7df8584fe9910715fc1188406f5ad0b.tar.gz ports-76602513f7df8584fe9910715fc1188406f5ad0b.zip |
Notes
Diffstat (limited to 'japanese/p5-Jcode')
-rw-r--r-- | japanese/p5-Jcode/Makefile | 1 | ||||
-rw-r--r-- | japanese/p5-Jcode/files/patch-Jcode.pm | 20 |
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) + { |