diff options
author | maya <maya@pkgsrc.org> | 2016-08-16 00:11:35 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-08-16 00:11:35 +0000 |
commit | c62522aa349ebf86e0d972c5987461ffe3e4b7ac (patch) | |
tree | 4e891a18a6c1f0ef57e8867b5c84ddc1d31bb6c7 /www | |
parent | afadb9350ad2b549a784698ed5e2c51b6b6c0610 (diff) | |
download | pkgsrc-c62522aa349ebf86e0d972c5987461ffe3e4b7ac.tar.gz |
perl defined(%hash) was deprecated.
patch package so it can run with this change to perl.
bump PKGREVISION
Diffstat (limited to 'www')
-rw-r--r-- | www/htmllint/Makefile | 4 | ||||
-rw-r--r-- | www/htmllint/distinfo | 3 | ||||
-rw-r--r-- | www/htmllint/patches/patch-htmllint.pm | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/www/htmllint/Makefile b/www/htmllint/Makefile index 206082cbe67..d3d3c2376df 100644 --- a/www/htmllint/Makefile +++ b/www/htmllint/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.34 2016/07/09 06:39:12 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2016/08/16 00:11:35 maya Exp $ # DISTNAME= htmllint PKGNAME= htmllint-20051019 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= www japanese MASTER_SITES= http://openlab.ring.gr.jp/k16/htmllint/archives/ EXTRACT_SUFX= .zip diff --git a/www/htmllint/distinfo b/www/htmllint/distinfo index 0191f0152a5..7026111062d 100644 --- a/www/htmllint/distinfo +++ b/www/htmllint/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2015/11/04 02:46:55 agc Exp $ +$NetBSD: distinfo,v 1.16 2016/08/16 00:11:35 maya Exp $ SHA1 (htmllint-20051019/htmllint.zip) = 9906763f2b59830d3199cacd9992c67ea74a11ab RMD160 (htmllint-20051019/htmllint.zip) = c0ab6f063435d4f0f420bad66ae48df90aef2943 @@ -12,3 +12,4 @@ SHA1 (patch-ah) = 26ba26f155a05d8bd0e7bfa1d494a246e1bf2ab8 SHA1 (patch-ai) = 27068dafb150f20e30898ec546d07af54e487fce SHA1 (patch-aj) = cb95bd5bbce00979ea29574f55e001c8df32436f SHA1 (patch-ak) = af542b90c1992e9fbf57d1b09a0fc1c0fafbcc25 +SHA1 (patch-htmllint.pm) = 13edfb6deb7a5e2f6b09c4205489bc37676d61b1 diff --git a/www/htmllint/patches/patch-htmllint.pm b/www/htmllint/patches/patch-htmllint.pm new file mode 100644 index 00000000000..15e3ba4cb30 --- /dev/null +++ b/www/htmllint/patches/patch-htmllint.pm @@ -0,0 +1,24 @@ +$NetBSD: patch-htmllint.pm,v 1.1 2016/08/16 00:11:35 maya Exp $ + +defined(%hash) was deprecated in perl and errors out + +--- htmllint.pm.orig 2005-10-19 08:02:26.000000000 +0000 ++++ htmllint.pm +@@ -4695,7 +4695,7 @@ sub WhineOmitEndTag + + sub Whine + { +- unless (defined(%messages)) { # デバグ用 ++ unless (%messages) { # デバグ用 + print @_, "\n"; + return; + } +@@ -5094,7 +5094,7 @@ sub ReadOptions + + sub ListWarnings(;\@) + { +- &ReadWarnings unless defined(%messages); ++ &ReadWarnings unless %messages; + my $aref = shift; + my %msgshort; + foreach my $id (keys %shortid) { $msgshort{$shortid{$id}} = $id; } |