aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-03-29 22:01:59 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-03-29 22:01:59 +0800
commit4a0a3d864dedc21aa8f253ac7111e686550a1cbb (patch)
treec6789ad8bcf98cd7f74e2976e9566dab3afec30a /japanese
parent73cbb9daf6e251592863c4443f8535eac69ada59 (diff)
downloadfreebsd-ports-gnome-4a0a3d864dedc21aa8f253ac7111e686550a1cbb.tar.gz
freebsd-ports-gnome-4a0a3d864dedc21aa8f253ac7111e686550a1cbb.tar.zst
freebsd-ports-gnome-4a0a3d864dedc21aa8f253ac7111e686550a1cbb.zip
o Avoid warning about use of uninitialized value in jfold().
o Fix typo in jfold() manpage.
Diffstat (limited to 'japanese')
-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)
+ {