summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-02-26 20:52:56 +0100
committerNicholas Clark <nick@ccl4.org>2013-05-28 09:19:30 +0200
commit54591b5ad50bccc63831f99b28b56b98d2455ea8 (patch)
tree561726fa80867edf0dd1b510f5dac4a35e3d1f2a /Porting
parentbff4c28782fd076ae48bd99ed064d30b6e14e291 (diff)
downloadperl-54591b5ad50bccc63831f99b28b56b98d2455ea8.tar.gz
Three Configure fixups so that bisect-runner.pl can build 1997-era 5.004
Specifically, so that it can build revisions near 15f0808c5d67b362.
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/bisect-runner.pl27
1 files changed, 27 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 101b036615..e926dd1d90 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -1659,6 +1659,33 @@ index 53649d5..0635a6e 100755
EOPATCH
}
+ if ($major == 4 && extract_from_file('Configure', qr/^d_gethbynam=/)) {
+ # Fixes a bug introduced in 4599a1dedd47b916
+ apply_commit('3cbc818d1d0ac470');
+ }
+
+ if ($major == 4 && extract_from_file('Configure',
+ qr/gethbadd_addr_type=`echo \$gethbadd_addr_type/)) {
+ # Fixes a bug introduced in 3fd537d4b944bc7a
+ apply_commit('6ff9219da6cf8cfd');
+ }
+
+ if ($major == 4 && extract_from_file('Configure',
+ qr/^pthreads_created_joinable=/)) {
+ # Fix for bug introduced in 52e1cb5ebf5e5a8c
+ # Part of commit ce637636a41b2fef
+ edit_file('Configure', sub {
+ my $code = shift;
+ $code =~ s{^pthreads_created_joinable=''}
+ {d_pthreads_created_joinable=''}ms
+ or die_255("Substitution failed");
+ $code =~ s{^pthreads_created_joinable='\$pthreads_created_joinable'}
+ {d_pthreads_created_joinable='\$d_pthreads_created_joinable'}ms
+ or die_255("Substitution failed");
+ return $code;
+ });
+ }
+
if ($major < 5 && extract_from_file('Configure',
qr!if \$cc \$ccflags try\.c -o try >/dev/null 2>&1; then!)) {
# Analogous to the more general fix of dfe9444ca7881e71