diff options
author | wen <wen@pkgsrc.org> | 2016-03-04 13:26:07 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2016-03-04 13:26:07 +0000 |
commit | 5b15723d0c5ef523178bd1c2a339eab178e56278 (patch) | |
tree | 4be128e89ffcca40f022d1096cf98fa59837e029 /devel/p5-Want | |
parent | 2e2837749e9cc87f1db715551f7dcc87d36b83e4 (diff) | |
download | pkgsrc-5b15723d0c5ef523178bd1c2a339eab178e56278.tar.gz |
Update to 0.29
Upstream changes:
0.27 Thu 25 Feb 2016 21:26:04 GMT
- perl 5.23.8 breaks the hack we were using to implement double_return.
This patch from David Mitchell fixes it. See https://rt.cpan.org/Ticket/Display.html?id=112226
David wrote:
> Running with a debugging perl-5.23.8 will show assertion failures in the Want test suite. It's because PL_comppad/PL_curpad save/restore is now done by the context stack / cx_popsub() rather than as previously on the savestack / LEAVE.
> This stops the double_return() 'convert CXt_SUB to CXt_NULL' hack from working properly, as PL_comppad is no longer restored when transitioning from the inner to outer sub. The attached patch substitutes one evil hack for another: it keeps the CXt_SUB context stack entry, but sets its retop field to point to the return op again (rather than its caller) so that the return op gets called twice (with a bit of markstack hackery to ensure there are two marks for the two returns to pop).
> rreturn and lnoreturn are also a bit under-tested. In particular, there are no tests for rreturn in list context. I added such a test, but more need adding.
> I can see this hack breaking again in the future. Perhaps in the long term
> rreturn() and lnoreturn() should be implemented using custom ops???
> Dave M.
0.28 Thu 25 Feb 2016 22:02:42 GMT
- Fix test failure in 5.14
- Fix test failure in 5.23.9 (using a patch from Slaven Rezic)
http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Want-0.26-RT112226.patch
0.29 Fri 26 Feb 2016 04:42:19 GMT
- Restore compatibility with certain older perl versions (5.10 and 5.12)
It seems that �𦯷TTRS: lvalue�� doesn�脌 work with older perls, but that you can
forward-declare the method in Perl code with the :lvalue attribute with the same
effect.
This version of Want is still broken with perl 5.8, for reasons I haven�脌 investigated.
Diffstat (limited to 'devel/p5-Want')
-rw-r--r-- | devel/p5-Want/Makefile | 5 | ||||
-rw-r--r-- | devel/p5-Want/distinfo | 10 |
2 files changed, 7 insertions, 8 deletions
diff --git a/devel/p5-Want/Makefile b/devel/p5-Want/Makefile index 95aeef54d6e..2302de0b9be 100644 --- a/devel/p5-Want/Makefile +++ b/devel/p5-Want/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.25 2015/06/12 10:49:56 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2016/03/04 13:26:07 wen Exp $ -DISTNAME= Want-0.26 +DISTNAME= Want-0.29 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Algorithm/ROBIN/} # this is a hack diff --git a/devel/p5-Want/distinfo b/devel/p5-Want/distinfo index 7746d6b8853..9b569b6af04 100644 --- a/devel/p5-Want/distinfo +++ b/devel/p5-Want/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2015/11/03 03:28:57 agc Exp $ +$NetBSD: distinfo,v 1.14 2016/03/04 13:26:07 wen Exp $ -SHA1 (Want-0.26.tar.gz) = 04161dfd8a59dd23d62ce8ba0294ddbc9b2d5581 -RMD160 (Want-0.26.tar.gz) = c189e2a112e6b20eb9e54358071a060829294ebc -SHA512 (Want-0.26.tar.gz) = 4b10d483068f0ab976c247b416477fe42903e06abf46678d5c5cb2308732b69038761b7aaefe42e232d666c3032e6cf303c11918f10dde1572bf25aa3ae1e8bd -Size (Want-0.26.tar.gz) = 19866 bytes +SHA1 (Want-0.29.tar.gz) = 8b6ad919e051a28112a031595e8c273b7107351f +RMD160 (Want-0.29.tar.gz) = d6cfaf218e1a69e584b4e50d1e1fea96d54d6e87 +SHA512 (Want-0.29.tar.gz) = 08df985de16b5e9dd67d6ed38d319da2511e92098f95a861a5a695eed8d77eaf412671b626e4da29b536147ad4da4a8cfdfd789ef204dac240073091481f3c1a +Size (Want-0.29.tar.gz) = 20928 bytes |