1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

Fix build with 5.21.11.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-04-25 10:02:48 +00:00
parent b160de8279
commit 5167aae452
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384727
2 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -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;
+ }
}
}