summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2022-07-30 10:23:24 +0200
committerYves Orton <demerphq@gmail.com>2023-02-11 07:17:42 +0100
commitfab9606d523663a135b180effc28e8154bc78854 (patch)
treea7b26ccc1e31ad5454aead18e8ae44514734d6cf /Porting
parent5b62e06d5be1d2208f59b0ba1c5cd039f06e907a (diff)
downloadperl-fab9606d523663a135b180effc28e8154bc78854.tar.gz
bisect-runner.pl must patch darwin hints to handle macOS 11, 12 etc
The version number moved beyond 10, and older hints files were not ready for this.
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/bisect-runner.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index ac50ad7a23..b8fcb4c9e2 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -2690,6 +2690,16 @@ sub patch_hints {
return $code;
});
}
+
+ if ($major < 34) {
+ edit_file('hints/darwin.sh', sub {
+ my $code = shift;
+ # This is commits aadc6422eaec39c2 and 54d41b60822734cf
+ # rolled into one:
+ $code =~ s/ 10\.\*(?: \| 11\.\*)?\)/ [1-9][0-9].*)/g;
+ return $code;
+ });
+ }
} elsif ($^O eq 'netbsd') {
if ($major < 6) {
# These are part of commit 099685bc64c7dbce