pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Function-Parameters p5-Function-Parameters: u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbe91c59e576
branches:  trunk
changeset: 371491:fbe91c59e576
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 13 15:10:33 2017 +0000

description:
p5-Function-Parameters: update to 2.001003.

2.001003  2017-11-11
          - Fix threaded initialization issue better. This is the same issue
            that was fixed in 2.001002, but now we use PL_op_mutex instead of
            PL_check_mutex. This has the advantage of also being thread-safe on
            v5.14.

2.001002  2017-11-09
          - Fix crash when Function::Parameters is loaded at runtime by
            multiple threads (a stack overflow due to infinite recursion).
            This is arguably a core bug (#132413). The current workaround
            employed by Function::Parameters slightly abuses an internal perl
            mutex meant for something else (protecting op checkers), but it
            fixes the issue on perls v5.16 .. v5.26.
            v5.14 doesn't have this API yet, so the workaround is not thread
            safe there. It is technically possible to still run into this issue
            if two threads initialize Function::Parameters at the exact same
            moment (I haven't managed to reproduce this yet, so hopefully it's
            unlikely in practice).
            It is possible to completely avoid the problem on all versions of
            perl and Function::Parameters by making sure the module is loaded
            before the first thread is created.

diffstat:

 devel/p5-Function-Parameters/Makefile |   8 +++++---
 devel/p5-Function-Parameters/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r 925aaaa02045 -r fbe91c59e576 devel/p5-Function-Parameters/Makefile
--- a/devel/p5-Function-Parameters/Makefile     Mon Nov 13 15:10:05 2017 +0000
+++ b/devel/p5-Function-Parameters/Makefile     Mon Nov 13 15:10:33 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/09/17 10:35:15 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2017/11/13 15:10:33 wiz Exp $
 
-DISTNAME=      Function-Parameters-2.001001
+DISTNAME=      Function-Parameters-2.001003
 PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/MA/MAUKE/}
@@ -12,7 +12,9 @@
 
 DEPENDS+=      p5-Moose-[0-9]*:../../devel/p5-Moose
 DEPENDS+=      p5-Package-DeprecationManager-[0-9]*:../../devel/p5-Package-DeprecationManager
-# for make test
+# one self test failure:
+# https://github.com/mauke/Function-Parameters/issues/33
+# TEST_DEPENDS
 BUILD_DEPENDS+=        p5-Dir-Self-[0-9]*:../../devel/p5-Dir-Self
 
 PERL5_PACKLIST=        auto/Function/Parameters/.packlist
diff -r 925aaaa02045 -r fbe91c59e576 devel/p5-Function-Parameters/distinfo
--- a/devel/p5-Function-Parameters/distinfo     Mon Nov 13 15:10:05 2017 +0000
+++ b/devel/p5-Function-Parameters/distinfo     Mon Nov 13 15:10:33 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/09/17 10:35:15 wiz Exp $
+$NetBSD: distinfo,v 1.5 2017/11/13 15:10:33 wiz Exp $
 
-SHA1 (Function-Parameters-2.001001.tar.gz) = 6bc23af44697bf5da3c80e88a876909a175c8ee6
-RMD160 (Function-Parameters-2.001001.tar.gz) = c5b9f010f5b7f95eddda002b86dee5b86e51b385
-SHA512 (Function-Parameters-2.001001.tar.gz) = 19cb7b4f7b9cf12e4ea00c8b2e91273775c1399873b3db75317030adbcf8877830cc08991982e9bb2c695c09f7f2bec5b34894257cc8a5c8b12b75901062f417
-Size (Function-Parameters-2.001001.tar.gz) = 89760 bytes
+SHA1 (Function-Parameters-2.001003.tar.gz) = 26b6f19da98298f7973088563006cae9d85d5489
+RMD160 (Function-Parameters-2.001003.tar.gz) = 89f1bcbf86609774dc5f85c2e323509bc3a318ba
+SHA512 (Function-Parameters-2.001003.tar.gz) = 47fd5e1e4b4d62b4576cc7439ba6f2636cef96f851e668bbd2274f79f2c4ee11fd9aa2e5739bbdfdf3ed0b3c373dc1c8d63920fd390a1d56592fbdc9be90db59
+Size (Function-Parameters-2.001003.tar.gz) = 91273 bytes



Home | Main Index | Thread Index | Old Index