summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwen <wen>2016-07-29 12:10:19 +0000
committerwen <wen>2016-07-29 12:10:19 +0000
commit464976345d2295fc5bebac93505064278e69f1b1 (patch)
tree941358f33849964987d12f74edce6848afe9f094
parentfd101db773b35a2cf5c70d09a2cf6e3db3d2a850 (diff)
downloadpkgsrc-464976345d2295fc5bebac93505064278e69f1b1.tar.gz
Update to 2.17
Upstream changes: 2.17 2014-03-18 - tests fixed - patch by Father Chrysostomos - many warnings - recommendation to use given/when
-rw-r--r--lang/p5-Switch/Makefile7
-rw-r--r--lang/p5-Switch/distinfo11
-rw-r--r--lang/p5-Switch/patches/patch-Switch.pm16
3 files changed, 8 insertions, 26 deletions
diff --git a/lang/p5-Switch/Makefile b/lang/p5-Switch/Makefile
index 3d73c4ad37b..5bfdadf1a6a 100644
--- a/lang/p5-Switch/Makefile
+++ b/lang/p5-Switch/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2016/06/08 19:23:55 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2016/07/29 12:10:19 wen Exp $
#
-DISTNAME= Switch-2.16
+DISTNAME= Switch-2.17
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 5
CATEGORIES= lang perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RG/RGARCIA/}
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CH/CHORNY/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Switch/
diff --git a/lang/p5-Switch/distinfo b/lang/p5-Switch/distinfo
index d14fa0b0fe3..c449d968c1b 100644
--- a/lang/p5-Switch/distinfo
+++ b/lang/p5-Switch/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 22:50:40 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/29 12:10:19 wen Exp $
-SHA1 (Switch-2.16.tar.gz) = 2737a2b5e64a9d715528fa50a8d967710106220e
-RMD160 (Switch-2.16.tar.gz) = 0b93b8ecea9d2e83d757e95fb4056d6b706b1f60
-SHA512 (Switch-2.16.tar.gz) = 614916c3b813c5cc279e592778d24b4213218acbb94fb842b99969475d356f44f451d0ad7fd18b28899a38bdb070e491d32e22c7ee87bc45668606b9cb413f88
-Size (Switch-2.16.tar.gz) = 13185 bytes
-SHA1 (patch-Switch.pm) = f1bde131fcb5ef85e4f888f7fde7f6b0417318d6
+SHA1 (Switch-2.17.tar.gz) = 410fc346dc96347bdb04dc7594a1ae19e0bda834
+RMD160 (Switch-2.17.tar.gz) = ae3a6487e915fd113b2c6b456edc0bcae4f3b410
+SHA512 (Switch-2.17.tar.gz) = 8faf3585c7b8a0552c7de7fad7b0ab89a8c3f3d55cb090d5656ae0925f8d328d9b466bd5bcbca76eaeaf56eceab11654137ba8a9bb03f79b91f00338ab2483ab
+Size (Switch-2.17.tar.gz) = 14490 bytes
diff --git a/lang/p5-Switch/patches/patch-Switch.pm b/lang/p5-Switch/patches/patch-Switch.pm
deleted file mode 100644
index 0dc00a31136..00000000000
--- a/lang/p5-Switch/patches/patch-Switch.pm
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-Switch.pm,v 1.1.1.1 2011/10/28 09:14:41 obache Exp $
-
-* misuses the (;$) prototype
- https://rt.cpan.org/Public/Bug/Display.html?id=60380
-
---- Switch.pm.orig 2009-10-23 07:52:51.000000000 +0000
-+++ Switch.pm
-@@ -146,7 +146,7 @@ sub filter_blocks
- die "Bad $keyword statement (problem in the code block?) near $Switch::file line ", line(substr($source,0, pos $source), $line), "\n";
- };
- my $code = filter_blocks(substr($source,$pos[0],$pos[4]-$pos[0]),line(substr($source,0,$pos[0]),$line));
-- $code =~ s/{/{ local \$::_S_W_I_T_C_H; Switch::switch $arg;/;
-+ $code =~ s/{/{ local \$::_S_W_I_T_C_H; Switch::switch($arg);/;
- $text .= $code . 'continue {last}';
- next component;
- }