Date: Sat, 25 Apr 2015 10:02:49 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384727 - head/devel/p5-B-C/files Message-ID: <201504251002.t3PA2nk6014982@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sat Apr 25 10:02:48 2015 New Revision: 384727 URL: https://svnweb.freebsd.org/changeset/ports/384727 Log: Fix build with 5.21.11. Sponsored by: Absolight Added: head/devel/p5-B-C/files/patch-bytecode.pl (contents, props changed) head/devel/p5-B-C/files/patch-lib_B_Bytecode.pm (contents, props changed) Added: head/devel/p5-B-C/files/patch-bytecode.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-B-C/files/patch-bytecode.pl Sat Apr 25 10:02:48 2015 (r384727) @@ -0,0 +1,9 @@ +--- bytecode.pl.orig 2014-08-21 22:13:08 UTC ++++ bytecode.pl +@@ -1044,4 +1044,5 @@ __END__ + 165 18 op_savefree PL_op->op_savefree U8 + 166 18 op_static PL_op->op_static U8 + 167 19.003 op_folded PL_op->op_folded U8 +-168 21.002 op_lastsib PL_op->op_lastsib U8 ++168 21.002-21.010 op_lastsib PL_op->op_lastsib U8 ++169 21.011 op_moresib PL_op->op_moresib U8 Added: head/devel/p5-B-C/files/patch-lib_B_Bytecode.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-B-C/files/patch-lib_B_Bytecode.pm Sat Apr 25 10:02:48 2015 (r384727) @@ -0,0 +1,16 @@ +--- lib/B/Bytecode.pm.orig 2014-08-21 22:13:08 UTC ++++ lib/B/Bytecode.pm +@@ -846,9 +846,12 @@ sub B::OP::bsave_thin { + if ($] >= 5.019002 and $op->can('folded')) { + asm "op_folded", $op->folded if $op->folded; + } +- if ($] >= 5.021002 and $op->can('lastsib')) { ++ if ($] >= 5.021002 and $[ < 5.021011 and $op->can('lastsib')) { + asm "op_lastsib", $op->lastsib if $op->lastsib; + } ++ if ($] >= 5.021011 and $op->can('moresib')) { ++ asm "op_moresib", $op->moresib if $op->moresib; ++ } + } + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504251002.t3PA2nk6014982>