diff options
author | Nicholas Clark <nick@ccl4.org> | 2022-07-30 12:28:07 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-11 07:17:42 +0100 |
commit | 619c2f42c9c887ee9e6750cdcbe714eee2fe6d51 (patch) | |
tree | faeef2e05ff80316f169fd3b74b731c7da4cbf20 /Porting | |
parent | 468e1a1ab096385be0400fb519a0703c13ba29bb (diff) | |
download | perl-619c2f42c9c887ee9e6750cdcbe714eee2fe6d51.tar.gz |
bisect-runner.pl must expose a prototype for was_lvalue_sub to List::Util
This problem was rapidly diagnosed and fixed at the time, but we need to fix
the few commits where the problem exists, else we can't bisect other build
failures.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index b825b9fe18..b2940a7d73 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -3957,6 +3957,22 @@ index 9418b52..b8b1a7c 100644 #if defined(STANDARD_C) && defined(I_STDLIB) EOPATCH } + + if ($major == 15) { + # This affects a small range of commits around July 2011, but build + # failures here get in the way of bisecting other problems: + + my $line = extract_from_file('embed.fnc', qr/^X?pR\t\|I32\t\|was_lvalue_sub$/); + if ($line) { + # Need to export Perl_was_lvalue_sub: + apply_commit('7b70e8177801df4e') + unless $line =~ /X/; + + # It needs to be 'ApR' not 'XpR', to be visible to List::Util + # (arm64 macOS treats the missing prototypes as errors) + apply_commit('c73b0699db4d0b8b'); + } + } } sub patch_ext { |