diff options
author | taca <taca> | 2010-09-06 12:18:19 +0000 |
---|---|---|
committer | taca <taca> | 2010-09-06 12:18:19 +0000 |
commit | be03fe8831d25f525c021824d0d2e6561f65dea5 (patch) | |
tree | f992f123912b13588d7764f3f2df319a531761ce /converters | |
parent | 6f3d7d8cfa2af620bc8e6b2b8d3d2a3e5ab99c0c (diff) | |
download | pkgsrc-be03fe8831d25f525c021824d0d2e6561f65dea5.tar.gz |
Stop warning with perl 5.12.
Bump PKGREVISION.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/jcode-perl/Makefile | 4 | ||||
-rw-r--r-- | converters/jcode-perl/distinfo | 3 | ||||
-rw-r--r-- | converters/jcode-perl/patches/patch-aa | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/converters/jcode-perl/Makefile b/converters/jcode-perl/Makefile index 491bcd414c7..75525f6e829 100644 --- a/converters/jcode-perl/Makefile +++ b/converters/jcode-perl/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2010/08/21 16:32:48 seb Exp $ +# $NetBSD: Makefile,v 1.6 2010/09/06 12:18:19 taca Exp $ DISTNAME= jcode.pl-2.13 PKGNAME= ${DISTNAME:S/jcode.pl/jcode-perl/} -PKGREVISION= 2 +PKGREVISION= 3 SVR4_PKGNAME= jcopl CATEGORIES= japanese converters perl5 MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ \ diff --git a/converters/jcode-perl/distinfo b/converters/jcode-perl/distinfo index dcef34a30e3..b1f935e4136 100644 --- a/converters/jcode-perl/distinfo +++ b/converters/jcode-perl/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2007/05/29 01:06:36 schmonz Exp $ +$NetBSD: distinfo,v 1.2 2010/09/06 12:18:19 taca Exp $ SHA1 (jcode.pl-2.13) = a123c07e86addb950cb3d9b7128cff03aba12c60 RMD160 (jcode.pl-2.13) = 413572cf7f5e4d809c4c6b43475548b289396dd2 Size (jcode.pl-2.13) = 21093 bytes +SHA1 (patch-aa) = b4a1adb91ef40c3ba62265312af824bb7fcb0582 diff --git a/converters/jcode-perl/patches/patch-aa b/converters/jcode-perl/patches/patch-aa new file mode 100644 index 00000000000..c67cd0e36e9 --- /dev/null +++ b/converters/jcode-perl/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1 2010/09/06 12:18:19 taca Exp $ + +Fix for perl 5.12. + +--- jcode.pl-2.13.orig 2010-09-02 02:42:04.000000000 +0000 ++++ jcode.pl-2.13 +@@ -681,7 +681,7 @@ sub __z2h_jis { + + sub z2h_euc { + local(*s, $n) = @_; +- &init_z2h_euc unless defined %z2h_euc; ++ &init_z2h_euc unless %z2h_euc; + $s =~ s/($re_euc_c|$re_euc_kana)/ + $z2h_euc{$1} ? ($n++, $z2h_euc{$1}) : $1 + /geo; +@@ -690,7 +690,7 @@ sub z2h_euc { + + sub z2h_sjis { + local(*s, $n) = @_; +- &init_z2h_sjis unless defined %z2h_sjis; ++ &init_z2h_sjis unless %z2h_sjis; + $s =~ s/($re_sjis_c)/$z2h_sjis{$1} ? ($n++, $z2h_sjis{$1}) : $1/geo; + $n; + } |