svn commit: r384727 - head/devel/p5-B-C/files
Mathieu Arnold
mat at FreeBSD.org
Sat Apr 25 10:02:50 UTC 2015
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;
++ }
+ }
+ }
+
More information about the svn-ports-all
mailing list