From 4e4c72093f6141b9c605cc38ae6ce0b2fe5b07e5 Mon Sep 17 00:00:00 2001 From: sno Date: Tue, 22 Sep 2009 17:16:44 +0000 Subject: Updating devel/p5-Attribute-Handlers from 0.86 to 0.87 Upstream changes: 0.87 Mon Sep 21 15:55:00 CET 2009 - Promote to stable release 0.86_01 Thu Sep 17 10:01:00 CET 2009 - From perl change 09330df80caf214f375fcf0c04857347e3b17c69 (Zefram): Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES Attribute handlers being applied to a temporary CV has actually been reported as a bug, #66970. The attached patch fixes the bug, by changing the order in which things happen: attributes are now applied after the temporary CV has been merged into the existing CV or has otherwise been added to the appropriate GV. The change breaks part of Attribute::Handlers. Part of A:H searches the package to find the name of the sub to which a :ATTR attribute is being applied, and the correct time at which to launch that search depends crucially on the order in which the CV construction events occur. So this patch also includes a change to A:H, to make it detect which way things happen. The resulting A:H works either way, which is essential for its dual-life nature. --- devel/p5-Attribute-Handlers/Makefile | 4 ++-- devel/p5-Attribute-Handlers/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'devel/p5-Attribute-Handlers') diff --git a/devel/p5-Attribute-Handlers/Makefile b/devel/p5-Attribute-Handlers/Makefile index a76aceefbfb..a3d6adaca75 100644 --- a/devel/p5-Attribute-Handlers/Makefile +++ b/devel/p5-Attribute-Handlers/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.21 2009/08/09 11:13:07 sno Exp $ +# $NetBSD: Makefile,v 1.22 2009/09/22 17:16:44 sno Exp $ -DISTNAME= Attribute-Handlers-0.86 +DISTNAME= Attribute-Handlers-0.87 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5ah CATEGORIES= devel perl5 diff --git a/devel/p5-Attribute-Handlers/distinfo b/devel/p5-Attribute-Handlers/distinfo index a67018c2089..5b805edf45a 100644 --- a/devel/p5-Attribute-Handlers/distinfo +++ b/devel/p5-Attribute-Handlers/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2009/08/09 11:13:07 sno Exp $ +$NetBSD: distinfo,v 1.10 2009/09/22 17:16:44 sno Exp $ -SHA1 (Attribute-Handlers-0.86.tar.gz) = 140de5d6018d22a6ba8643506bdb4a3a99161dce -RMD160 (Attribute-Handlers-0.86.tar.gz) = 3f5f4a1a383dcf7eef02d2347e367aa549b39ba0 -Size (Attribute-Handlers-0.86.tar.gz) = 22411 bytes +SHA1 (Attribute-Handlers-0.87.tar.gz) = 5edbeae2ec14e3faca0c2a95bc9cb92b35affd0e +RMD160 (Attribute-Handlers-0.87.tar.gz) = 972498fc599efa94fd7ea1d7ae3705fd09bbfbd6 +Size (Attribute-Handlers-0.87.tar.gz) = 23171 bytes -- cgit v1.2.3