pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Fix build with Perl 5.26.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/e823ae2749dc
branches: trunk
changeset: 363379:e823ae2749dc
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed Jun 07 14:29:59 2017 +0000
description:
Fix build with Perl 5.26.0
diffstat:
benchmarks/p5-Benchmark-Timer/distinfo | 3 +-
benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL | 15 +++
comms/p5-Data-AMF/distinfo | 3 +-
comms/p5-Data-AMF/patches/patch-Makefile.PL | 12 ++
comms/p5-SMS-Send/distinfo | 3 +-
comms/p5-SMS-Send/patches/patch-Makefile.PL | 12 ++
converters/p5-Sereal-Decoder/distinfo | 3 +-
converters/p5-Sereal-Decoder/patches/patch-Decoder.xs | 67 +++++++++++++++
converters/p5-Sereal-Encoder/distinfo | 3 +-
converters/p5-Sereal-Encoder/patches/patch-Encoder.xs | 65 ++++++++++++++
converters/p5-Unicode-Collate/distinfo | 3 +-
converters/p5-Unicode-Collate/patches/patch-Makefile.PL | 15 +++
converters/p5-Unicode-Normalize/distinfo | 3 +-
converters/p5-Unicode-Normalize/patches/patch-Makefile.PL | 15 +++
databases/p5-DBIx-Class/distinfo | 3 +-
databases/p5-DBIx-Class/patches/patch-Makefile.PL | 15 +++
databases/p5-SQL-Translator/distinfo | 3 +-
databases/p5-SQL-Translator/patches/patch-Makefile.PL | 12 ++
databases/p5-YAML-MLDBM/distinfo | 3 +-
databases/p5-YAML-MLDBM/patches/patch-Makefile.PL | 10 ++
databases/p5-perl-ldap/distinfo | 3 +-
databases/p5-perl-ldap/patches/patch-Makefile.PL | 14 +++
22 files changed, 274 insertions(+), 11 deletions(-)
diffs (truncated from 431 to 300 lines):
diff -r a129cae6e710 -r e823ae2749dc benchmarks/p5-Benchmark-Timer/distinfo
--- a/benchmarks/p5-Benchmark-Timer/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/benchmarks/p5-Benchmark-Timer/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 00:25:51 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/06/07 14:29:59 ryoon Exp $
SHA1 (Benchmark-Timer-0.7107.tar.gz) = 24132bf428edca54d86cc17f9d0ab598f6099516
RMD160 (Benchmark-Timer-0.7107.tar.gz) = 1232a7ff2b2a4cd2464c90f2276d73464943cc31
SHA512 (Benchmark-Timer-0.7107.tar.gz) = 6faa50a90173a075a4bb398212e2db77348f59a47ff483db9e1885dc7dce9636557684574a21f228c53f0c29a468e663706843840b2e59abbaaed1222f400e05
Size (Benchmark-Timer-0.7107.tar.gz) = 45734 bytes
+SHA1 (patch-Makefile.PL) = 36b460c6e958cf7ce3b52025f5ef043c32ead088
diff -r a129cae6e710 -r e823ae2749dc benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/p5-Benchmark-Timer/patches/patch-Makefile.PL Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:29:59 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2015-04-26 22:40:24.000000000 +0000
++++ Makefile.PL
+@@ -5,6 +5,8 @@ use strict;
+ # For PRIVATE Module::Install extensions
+ use lib 'private-lib';
+
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install;
+
+ all_from('lib/Benchmark/Timer.pm');
diff -r a129cae6e710 -r e823ae2749dc comms/p5-Data-AMF/distinfo
--- a/comms/p5-Data-AMF/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/comms/p5-Data-AMF/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/06/07 14:31:37 ryoon Exp $
SHA1 (Data-AMF-0.09.tar.gz) = fb2462b288e1c48ecc37d2aa6c3d426fd1e6d942
RMD160 (Data-AMF-0.09.tar.gz) = 5121572c73e654f82156ef9653a040a4d98ae761
SHA512 (Data-AMF-0.09.tar.gz) = 18d1dcf19b6f2fdaecb27ef6683137e83fdb040fa99c096ecd643bbe09adda260e94b83113d2e1e86f916dcfccc74186fb0adc4fcb967134ae682645292c70d6
Size (Data-AMF-0.09.tar.gz) = 129205 bytes
+SHA1 (patch-Makefile.PL) = 8fcb91781eec1788845e1297e3af74f827b76cdf
diff -r a129cae6e710 -r e823ae2749dc comms/p5-Data-AMF/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/p5-Data-AMF/patches/patch-Makefile.PL Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:31:37 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2010-07-21 02:45:08.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install;
+ name 'Data-AMF';
+ all_from 'lib/Data/AMF.pm';
diff -r a129cae6e710 -r e823ae2749dc comms/p5-SMS-Send/distinfo
--- a/comms/p5-SMS-Send/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/comms/p5-SMS-Send/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:34:56 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/06/07 14:31:37 ryoon Exp $
SHA1 (SMS-Send-1.06.tar.gz) = edb840fc26f2c5353139df8562ea1c1710c66647
RMD160 (SMS-Send-1.06.tar.gz) = a7b4f712379940554dc929b3ea7c75ca744edfa3
SHA512 (SMS-Send-1.06.tar.gz) = 7e4fd12d9a8fd1f9a2b77ea441c146becd03b4cacd84d167ded3d569889c797ef8def3293b8996786a6d577274c12c4c8d8a2724a2365012c0f35966d85b313d
Size (SMS-Send-1.06.tar.gz) = 35184 bytes
+SHA1 (patch-Makefile.PL) = 497bcf7dcc23533afb7b4593837c1b51c11f5c6c
diff -r a129cae6e710 -r e823ae2749dc comms/p5-SMS-Send/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/p5-SMS-Send/patches/patch-Makefile.PL Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:31:37 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+
+--- Makefile.PL.orig 2011-11-09 02:40:00.000000000 +0000
++++ Makefile.PL
+@@ -1,3 +1,5 @@
++use FindBin;
++use lib $FindBin::Bin;
+ use inc::Module::Install::DSL 1.04;
+
+ all_from lib/SMS/Send.pm
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Sereal-Decoder/distinfo
--- a/converters/p5-Sereal-Decoder/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/converters/p5-Sereal-Decoder/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/12/11 20:30:35 wiedi Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:23 ryoon Exp $
SHA1 (Sereal-Decoder-3.014.tar.gz) = 79962f925b2f7dc3920c913d0b033da860a84012
RMD160 (Sereal-Decoder-3.014.tar.gz) = bc15b504e216305349fd5192f337202d93e21480
SHA512 (Sereal-Decoder-3.014.tar.gz) = 00ac49d18033fa177fa12d36b0527f327eaed54c96a065783da6c209db24764b4487464312a933ac24d51d94ef79293c0cb1aa938f6e4704a3b0a11b30151e22
Size (Sereal-Decoder-3.014.tar.gz) = 369546 bytes
+SHA1 (patch-Decoder.xs) = eee3fdd7b81dfdc8494cc0aaac33ca0a26b44e96
SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Sereal-Decoder/patches/patch-Decoder.xs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/p5-Sereal-Decoder/patches/patch-Decoder.xs Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,67 @@
+$NetBSD: patch-Decoder.xs,v 1.1 2017/06/07 14:33:23 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+ Like devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs
+
+--- Decoder.xs.orig 2015-11-27 00:15:01.000000000 +0000
++++ Decoder.xs
+@@ -19,6 +19,26 @@
+ #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
+ #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
+
++#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
++
+ /* prototype to pass -Wmissing-prototypes */
+ STATIC void
+ S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
+@@ -193,17 +213,17 @@ THX_ck_entersub_args_sereal_decoder(pTHX
+
+ entersubop = ck_entersub_args_proto(entersubop, namegv, (SV*)cv);
+ pushop = cUNOPx(entersubop)->op_first;
+- if ( ! pushop->op_sibling )
++ if ( ! OpHAS_SIBLING(pushop) )
+ pushop = cUNOPx(pushop)->op_first;
+- firstargop = pushop->op_sibling;
++ firstargop = OpSIBLING(pushop);
+
+- for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
++ for (cvop = firstargop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ;
+
+ lastargop = pushop;
+ for (
+ arity = 0, lastargop = pushop, argop = firstargop;
+ argop != cvop;
+- lastargop = argop, argop = argop->op_sibling
++ lastargop = argop, argop = OpSIBLING(argop)
+ ){
+ arity++;
+ }
+@@ -222,8 +242,8 @@ THX_ck_entersub_args_sereal_decoder(pTHX
+ if (arity > min_arity)
+ opopt |= OPOPT_OUTARG_HEADER;
+
+- pushop->op_sibling = cvop;
+- lastargop->op_sibling = NULL;
++ OpLASTSIB_set(pushop, cvop);
++ OpLASTSIB_set(lastargop, NULL);
+ op_free(entersubop);
+ newop = newUNOP(OP_NULL, 0, firstargop);
+ newop->op_type = OP_CUSTOM;
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Sereal-Encoder/distinfo
--- a/converters/p5-Sereal-Encoder/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/converters/p5-Sereal-Encoder/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2016/12/15 01:53:34 wiedi Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Sereal-Encoder-3.014.tar.gz) = 8cda51758cd1d22aa307efe8c85423511a12884a
RMD160 (Sereal-Encoder-3.014.tar.gz) = bef412b1dd0fa8510decd5a048d8bbaf922999cf
SHA512 (Sereal-Encoder-3.014.tar.gz) = 4891cb9189abe77012d14ba778156806f9d1708bce73015ce4d1d06ce4aa62abd0f9af4f98a64c547e55fa2298770f45aa2b0b99cc00e8e0f6a022df84bb41b8
Size (Sereal-Encoder-3.014.tar.gz) = 377995 bytes
+SHA1 (patch-Encoder.xs) = 4a0265facb06f768cf73db8f78782b117d37b00c
SHA1 (patch-snappy_csnappy__internal__userspace.h) = 604f36231909881d4c424c06cd0b6065b4912006
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Sereal-Encoder/patches/patch-Encoder.xs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/p5-Sereal-Encoder/patches/patch-Encoder.xs Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,65 @@
+$NetBSD: patch-Encoder.xs,v 1.1 2017/06/07 14:33:24 ryoon Exp $
+
+* Fix build with Perl 5.26.0
+ Like devel/p5-Params-Classify/patches/patch-lib_Params_Classify.xs
+
+--- Encoder.xs.orig 2015-11-27 01:30:50.000000000 +0000
++++ Encoder.xs
+@@ -20,6 +20,27 @@
+ # define GvCV_set(gv, cv) (GvCV(gv) = (cv))
+ #endif
+
++#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
++
++
+ #if defined(cv_set_call_checker) && defined(XopENTRY_set)
+ # define USE_CUSTOM_OPS 1
+ #else
+@@ -88,14 +109,14 @@ THX_ck_entersub_args_sereal_encode_with_
+
+ entersubop = ck_entersub_args_proto(entersubop, namegv, ckobj);
+ pushop = cUNOPx(entersubop)->op_first;
+- if (!pushop->op_sibling)
++ if (!OpHAS_SIBLING(pushop))
+ pushop = cUNOPx(pushop)->op_first;
+- firstargop = pushop->op_sibling;
++ firstargop = OpSIBLING(pushop);
+
+- for (cvop = firstargop; cvop->op_sibling; cvop = cvop->op_sibling) ;
++ for (cvop = firstargop; OpHAS_SIBLING(cvop); cvop = OpSIBLING(cvop)) ;
+
+ for (arity = 0, lastargop = pushop, argop = firstargop; argop != cvop;
+- lastargop = argop, argop = argop->op_sibling)
++ lastargop = argop, argop = OpSIBLING(argop))
+ {
+ arity++;
+ }
+@@ -106,8 +127,8 @@ THX_ck_entersub_args_sereal_encode_with_
+ /* If we get here, we can replace the entersub with a suitable
+ * sereal_encode_with_object custom OP. */
+
+- pushop->op_sibling = cvop;
+- lastargop->op_sibling = NULL;
++ OpLASTSIB_set(pushop, cvop);
++ OpLASTSIB_set(lastargop, NULL);
+ op_free(entersubop);
+ newop = newUNOP(OP_NULL, 0, firstargop);
+ newop->op_type = OP_CUSTOM;
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Unicode-Collate/distinfo
--- a/converters/p5-Unicode-Collate/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/converters/p5-Unicode-Collate/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.16 2016/12/11 00:39:39 wen Exp $
+$NetBSD: distinfo,v 1.17 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Unicode-Collate-1.19.tar.gz) = ab9680d5e1bd23b87e03c70593c40cfdc09a30f2
RMD160 (Unicode-Collate-1.19.tar.gz) = 94c9580d75d19b5f1abaf470a5d7472873352387
SHA512 (Unicode-Collate-1.19.tar.gz) = 580bca6e96dd474b223ec9f971d6b8a4fc96d1bbffdc278dfa679d511455940e088f19069647715c2ae7c8e52972a59107cbc6d1bf3537de1c314feab2f4c21b
Size (Unicode-Collate-1.19.tar.gz) = 886811 bytes
+SHA1 (patch-Makefile.PL) = b87caafb75d18bdb9c6c5462b2f6842c4bcc7aa8
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Unicode-Collate/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/p5-Unicode-Collate/patches/patch-Makefile.PL Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/07 14:33:24 ryoon Exp $
+
+* FIx build with Perl 5.26.0
+
+--- Makefile.PL.orig 2016-12-03 00:33:01.000000000 +0000
++++ Makefile.PL
+@@ -6,7 +6,7 @@ my $clean = {};
+ if (-f "Collate.xs") {
+ print "Making header files for XS...\n";
+
+- do 'mkheader' or die $@ || "mkheader: $!";
++ do './mkheader' or die $@ || "mkheader: $!";
+
+ $clean = { FILES => 'ucatbl.h' };
+ }
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Unicode-Normalize/distinfo
--- a/converters/p5-Unicode-Normalize/distinfo Wed Jun 07 14:28:46 2017 +0000
+++ b/converters/p5-Unicode-Normalize/distinfo Wed Jun 07 14:29:59 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/04/13 21:10:11 markd Exp $
+$NetBSD: distinfo,v 1.8 2017/06/07 14:33:24 ryoon Exp $
SHA1 (Unicode-Normalize-1.25.tar.gz) = 607ada7ef05bc1644f7f08d8899fc60988ea4f7e
RMD160 (Unicode-Normalize-1.25.tar.gz) = 0a05087451efde87f497c97f33e65891336b4b91
SHA512 (Unicode-Normalize-1.25.tar.gz) = f28c19e0293cf75cc0aab669ae0a0543f6a1a39e1e50ff32ab37abd8e85efc73e8b9075e581212b6da576ecbf8c0e9ddb7b9b352674aa3a04c77f9aaf4717866
Size (Unicode-Normalize-1.25.tar.gz) = 40530 bytes
+SHA1 (patch-Makefile.PL) = 8124fac4b9786ae579d8013a560ae067648965a7
diff -r a129cae6e710 -r e823ae2749dc converters/p5-Unicode-Normalize/patches/patch-Makefile.PL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/p5-Unicode-Normalize/patches/patch-Makefile.PL Wed Jun 07 14:29:59 2017 +0000
@@ -0,0 +1,15 @@
Home |
Main Index |
Thread Index |
Old Index