Subject: pkg/34363: [update] devel/p5-Set-IntSpan
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Wilke <miwi@FreeBSD.org>
List: pkgsrc-bugs
Date: 08/29/2006 16:20:03
>Number:         34363
>Category:       pkg
>Synopsis:       [update] devel/p5-Set-IntSpan
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 29 16:20:02 +0000 2006
>Originator:     Martin Wilke
>Release:        NetBSD 4.0_BETA i386
>Organization:
>Environment:


System: NetBSD 4.0_BETA (MIWIBOX) #0: Tue Aug 29 10:29:38 CEST 2006
	miwi@mwilke.ath.cx:/usr/obj/sys/arch/i386/compile/MIWIBOX



>Description:


- Update to 1.09

- Changelog 

	* [cpan #13816] Set::Scalar blesses unblessed refs

	  A genuine bug, the suggsted fix used, but then again Set::Scalar
	  was never designed or tested be used with references as the set
	  members.  I would not recommend doing that unless much more
	  testing has been conducted.  A test added to misc.t for that,
	  and a warning about using references as the set members added
	  to the pod.
	
	* [cpan #13856] funny behavior in Set::Scalar::Base::intersection and Set::Scalar::Base::union

	  A genuine bug, but the suggested fix as-is would break
	  the special cases of intersecting with the null set and
	  unioning with the universal set.
	  A slightly enhanced version of the fix used instead,
	  tests added to intersection.t and union.t.
	
	* [cpan #13857] Set::Scalar::Base::_binary_underload bug

	  Not really a bug.  The _binary_underload() method is only
	  ever going to be called by Set::Scalar itself, or by classes
	  derived from Set::Scalar, so the assumption that all references
	  are object and that they are capable of calling the new() method
	  (i.e. being instance of Set::Scalar) is completely valid.
	  Trying to use the suggested fix also badly breaks the
	  laws.t when the universal and null sets are present.


>How-To-Repeat:





>Fix:


--- p5-Set-IntSpan.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/pkgsrc/devel/p5-Set-IntSpan/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	6 Aug 2005 06:19:13 -0000	1.7
+++ Makefile	29 Aug 2006 14:47:52 -0000
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.7 2005/08/06 06:19:13 jlam Exp $
 #
 
-DISTNAME=	Set-IntSpan-1.08
+DISTNAME=	Set-IntSpan-1.09
 PKGNAME=	p5-${DISTNAME}
 SVR4_PKGNAME=	p5sis
-PKGREVISION=	2
 CATEGORIES=	perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Set/}
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/pkgsrc/devel/p5-Set-IntSpan/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	23 Feb 2005 22:24:28 -0000	1.3
+++ distinfo	29 Aug 2006 14:48:51 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.3 2005/02/23 22:24:28 agc Exp $
 
-SHA1 (Set-IntSpan-1.08.tar.gz) = c8332bafae1c8b49302ae0fc264e2544bb697128
-RMD160 (Set-IntSpan-1.08.tar.gz) = 5a87f3d83645cf06c3dbe6a0e6050df5c7301c8c
-Size (Set-IntSpan-1.08.tar.gz) = 14148 bytes
+SHA1 (Set-IntSpan-1.09.tar.gz) = 441349016ed1c5d948a7ca901eaa1d790e8b2546
+RMD160 (Set-IntSpan-1.09.tar.gz) = cf71e78468e1791e2a21f887c0889697e671311b
+Size (Set-IntSpan-1.09.tar.gz) = 17524 bytes
--- p5-Set-IntSpan.diff ends here ---