aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-25 18:02:48 +0800
committermat <mat@FreeBSD.org>2015-04-25 18:02:48 +0800
commitd84d2b3c014815275d358edd54307545b3ab6c83 (patch)
tree2dc3229ff9837376a1bb698391043d7373a5af88 /devel
parenta34f3e966b78fff487c2b6a11ba65757e1b09af9 (diff)
downloadfreebsd-ports-gnome-d84d2b3c014815275d358edd54307545b3ab6c83.tar.gz
freebsd-ports-gnome-d84d2b3c014815275d358edd54307545b3ab6c83.tar.zst
freebsd-ports-gnome-d84d2b3c014815275d358edd54307545b3ab6c83.zip
Fix build with 5.21.11.
Sponsored by: Absolight
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-B-C/files/patch-bytecode.pl9
-rw-r--r--devel/p5-B-C/files/patch-lib_B_Bytecode.pm16
2 files changed, 25 insertions, 0 deletions
diff --git a/devel/p5-B-C/files/patch-bytecode.pl b/devel/p5-B-C/files/patch-bytecode.pl
new file mode 100644
index 000000000000..85b91f5be25e
--- /dev/null
+++ b/devel/p5-B-C/files/patch-bytecode.pl
@@ -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
diff --git a/devel/p5-B-C/files/patch-lib_B_Bytecode.pm b/devel/p5-B-C/files/patch-lib_B_Bytecode.pm
new file mode 100644
index 000000000000..40c684e7ae28
--- /dev/null
+++ b/devel/p5-B-C/files/patch-lib_B_Bytecode.pm
@@ -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;
++ }
+ }
+ }
+