diff options
author | Nicholas Clark <nick@ccl4.org> | 2022-08-05 10:27:14 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-11 07:17:42 +0100 |
commit | eb2a178ad48ae034f813105dc47dc909aaa81888 (patch) | |
tree | f0fb49ee4b7973d94e0f58ad35b4621cc501ba13 /Porting | |
parent | 889794d34c832b4fb85e18b8e0a4048d6353b45e (diff) | |
download | perl-eb2a178ad48ae034f813105dc47dc909aaa81888.tar.gz |
bisect-runner.pl should supply a prototype for Gv_AMupdate
This was missing prior to perl-5.001
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bisect-runner.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 4357b77740..d62a905f6a 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -3544,6 +3544,23 @@ sub patch_C { # This is ordered by $major, as it's likely that different platforms may # well want to share code. + if ($major == 0) { + apply_patch(<<'EOPATCH'); +diff --git a/proto.h b/proto.h +index 9ffc6bbabc..16da198342 100644 +--- a/proto.h ++++ b/proto.h +@@ -8,6 +8,7 @@ + #endif + #ifdef OVERLOAD + SV* amagic_call _((SV* left,SV* right,int method,int dir)); ++bool Gv_AMupdate _((HV* stash)); + #endif /* OVERLOAD */ + OP* append_elem _((I32 optype, OP* head, OP* tail)); + OP* append_list _((I32 optype, LISTOP* first, LISTOP* last)); +EOPATCH + } + if ($major == 2 && extract_from_file('perl.c', qr/^\tfclose\(e_fp\);$/)) { # need to patch perl.c to avoid calling fclose() twice on e_fp when # using -e |