pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Params-Classify p5-Params-Classify: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b81472e5ac7
branches:  trunk
changeset: 368550:3b81472e5ac7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 17 11:50:14 2017 +0000

description:
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:

 devel/p5-Params-Classify/Makefile                             |   5 +-
 devel/p5-Params-Classify/distinfo                             |  11 +-
 devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs |  84 -----------
 3 files changed, 7 insertions(+), 93 deletions(-)

diffs (118 lines):

diff -r 0991e58f4944 -r 3b81472e5ac7 devel/p5-Params-Classify/Makefile
--- a/devel/p5-Params-Classify/Makefile Sun Sep 17 11:48:39 2017 +0000
+++ b/devel/p5-Params-Classify/Makefile Sun Sep 17 11:50:14 2017 +0000
@@ -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 -r 0991e58f4944 -r 3b81472e5ac7 devel/p5-Params-Classify/distinfo
--- a/devel/p5-Params-Classify/distinfo Sun Sep 17 11:48:39 2017 +0000
+++ b/devel/p5-Params-Classify/distinfo Sun Sep 17 11:50:14 2017 +0000
@@ -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 -r 0991e58f4944 -r 3b81472e5ac7 devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs
--- a/devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs     Sun Sep 17 11:48:39 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index