diff options
author | wiz <wiz@pkgsrc.org> | 2017-09-17 11:50:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-09-17 11:50:14 +0000 |
commit | 085e1d1a893054144dfa7979750a62b491dce07c (patch) | |
tree | a9cb5898919d1a398b8ceb799b3e45985d26fffd /devel | |
parent | 86b2ddb34aa10fc592873522a71cde3aff033af2 (diff) | |
download | pkgsrc-085e1d1a893054144dfa7979750a62b491dce07c.tar.gz |
p5-Params-Classify: update to 0.015.
version 0.015; 2017-07-29
* update for changed S_croak_xs_usage() prototype in ExtUtils::ParseXS
3.30, requiring the new version of that module in order to build
the XS implementation
* in documentation, use four-column indentation for all verbatim
material
* in META.{yml,json}, point to public bug tracker
* correctly classify ExtUtils::ParseXS dependency as a recommendation
rather than a requirement
* avoid some compiler warnings
version 0.014; 2017-07-16
* port to Perl 5.19.4, where the C type of array indices has changed
* update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later
(which is the default from Perl 5.25.1)
* trigger custom op generation via Devel::CallChecker rather than by
hooking the underlying op checker
* update test suite to not rely on . in @INC, which is no longer
necessarily there from Perl 5.25.7
* no longer include a Makefile.PL in the distribution
* correct dynamic_config setting to 0
* use boolSV() where appropriate in XS code
* use cBOOL() where appropriate
* consistently use THX_ prefix on internal function names
* include META.json in distribution
* convert .cvsignore to .gitignore
* add MYMETA.json to .cvsignore
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Params-Classify/Makefile | 5 | ||||
-rw-r--r-- | devel/p5-Params-Classify/distinfo | 11 | ||||
-rw-r--r-- | devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs | 84 |
3 files changed, 7 insertions, 93 deletions
diff --git a/devel/p5-Params-Classify/Makefile b/devel/p5-Params-Classify/Makefile index c790ee3ea3d..0ebdf9f6282 100644 --- a/devel/p5-Params-Classify/Makefile +++ b/devel/p5-Params-Classify/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.13 2017/06/05 14:23:27 ryoon Exp $ +# $NetBSD: Makefile,v 1.14 2017/09/17 11:50:14 wiz Exp $ -DISTNAME= Params-Classify-0.013 +DISTNAME= Params-Classify-0.015 PKGNAME= p5-${DISTNAME} -PKGREVISION= 6 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Params/} diff --git a/devel/p5-Params-Classify/distinfo b/devel/p5-Params-Classify/distinfo index 13c0555da37..898955c2639 100644 --- a/devel/p5-Params-Classify/distinfo +++ b/devel/p5-Params-Classify/distinfo @@ -1,7 +1,6 @@ -$NetBSD: distinfo,v 1.5 2017/06/06 14:38:05 ryoon Exp $ +$NetBSD: distinfo,v 1.6 2017/09/17 11:50:14 wiz Exp $ -SHA1 (Params-Classify-0.013.tar.gz) = 00bcfc849ca40a2136366760641ff5650dd7950f -RMD160 (Params-Classify-0.013.tar.gz) = 2e971e5358080f11a20af0c4a8015d5ad932d888 -SHA512 (Params-Classify-0.013.tar.gz) = 8638d0d952854770049a8cf382ce02f6164025ad7224588d41be02f504947cb9d309d95c33d8fc1c2e3b5de6dfdbeac7fdaf9cd16dd6ba0a3d546c7a002e65e6 -Size (Params-Classify-0.013.tar.gz) = 21014 bytes -SHA1 (patch-lib_Params_Classify.xs) = fb2c032c97f1b99bffa4be5e37076df9425f348a +SHA1 (Params-Classify-0.015.tar.gz) = ca7f68c02aa5d0a1b8ca9948ef711f239341a6cf +RMD160 (Params-Classify-0.015.tar.gz) = 067fb52d4626d708c410d7c920af27d6d6d1883b +SHA512 (Params-Classify-0.015.tar.gz) = 1c41590a3f06d21d5f23e12371b0aee5d4249f773bfb0738e955fbdccdccc6e495744c50d3b91305a6b470e022475446705c8eb8e8d05ca1ed037d369a67617c +Size (Params-Classify-0.015.tar.gz) = 22061 bytes diff --git a/devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs b/devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs deleted file mode 100644 index 658b4a4391e..00000000000 --- a/devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs +++ /dev/null @@ -1,84 +0,0 @@ -$NetBSD: patch-lib_Params_Classify.xs,v 1.1 2017/06/06 14:38:05 ryoon Exp $ - -* Fix build with Perl 5.26.0 - From https://rt.cpan.org/Public/Bug/Display.html?id=114490 - ---- lib/Params/Classify.xs.orig 2010-11-16 20:35:47.000000000 +0000 -+++ lib/Params/Classify.xs -@@ -41,6 +41,26 @@ - # define FPTR2DPTR(t,x) ((t)(UV)(x)) - #endif /* !FPTR2DPTR */ - -+#ifndef OpHAS_SIBLING -+# define OpHAS_SIBLING(o) (cBOOL((o)->op_sibling)) -+#endif -+ -+#ifndef OpSIBLING -+# define OpSIBLING(o) (0 + (o)->op_sibling) -+#endif -+ -+#ifndef OpMORESIB_set -+# define OpMORESIB_set(o, sib) ((o)->op_sibling = (sib)) -+#endif -+ -+#ifndef OpLASTSIB_set -+# define OpLASTSIB_set(o, parent) ((o)->op_sibling = NULL) -+#endif -+ -+#ifndef OpMAYBESIB_set -+# define OpMAYBESIB_set(o, sib, parent) ((o)->op_sibling = (sib)) -+#endif -+ - #ifndef ptr_table_new - - struct q_ptr_tbl_ent { -@@ -625,8 +645,8 @@ static OP *myck_entersub(pTHX_ OP *op) - OP *(*ppfunc)(pTHX); - I32 cvflags; - pushop = cUNOPx(op)->op_first; -- if(!pushop->op_sibling) pushop = cUNOPx(pushop)->op_first; -- for(cvop = pushop; cvop->op_sibling; cvop = cvop->op_sibling) ; -+ if(!OpHAS_SIBLING(pushop)) pushop = cUNOPx(pushop)->op_first; -+ for(cvop = pushop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ; - if(!(cvop->op_type == OP_RV2CV && - !(cvop->op_private & OPpENTERSUB_AMPER) && - (cv = rvop_cv(cUNOPx(cvop)->op_first)) && -@@ -635,20 +655,20 @@ static OP *myck_entersub(pTHX_ OP *op) - return nxck_entersub(aTHX_ op); - cvflags = CvXSUBANY(cv).any_i32; - op = nxck_entersub(aTHX_ op); /* for prototype checking */ -- aop = pushop->op_sibling; -- bop = aop->op_sibling; -+ aop = OpSIBLING(pushop); -+ bop = OpSIBLING(aop); - if(bop == cvop) { - if(!(cvflags & PC_ALLOW_UNARY)) return op; - unary: -- pushop->op_sibling = bop; -- aop->op_sibling = NULL; -+ OpLASTSIB_set(pushop, bop); -+ OpLASTSIB_set(aop, NULL); - op_free(op); - op = newUNOP(OP_NULL, 0, aop); - op->op_type = OP_RAND; - op->op_ppaddr = ppfunc; - op->op_private = (U8)cvflags; - return op; -- } else if(bop && bop->op_sibling == cvop) { -+ } else if(bop && OpSIBLING(op) == cvop) { - if(!(cvflags & PC_ALLOW_BINARY)) return op; - if(ppfunc == THX_pp_check_sclass && - (cvflags & PC_TYPE_MASK) == SCLASS_REF) { -@@ -667,9 +687,9 @@ static OP *myck_entersub(pTHX_ OP *op) - cvflags &= ~PC_TYPE_MASK; - ppfunc = THX_pp_check_dyn_battr; - } -- pushop->op_sibling = cvop; -- aop->op_sibling = NULL; -- bop->op_sibling = NULL; -+ OpLASTSIB_set(pushop, cvop); -+ OpLASTSIB_set(aop, NULL); -+ OpLASTSIB_set(bop, NULL); - op_free(op); - op = newBINOP(OP_NULL, 0, aop, bop); - op->op_type = OP_RAND; |