summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2022-08-05 10:27:14 +0200
committerYves Orton <demerphq@gmail.com>2023-02-11 07:17:42 +0100
commiteb2a178ad48ae034f813105dc47dc909aaa81888 (patch)
treef0fb49ee4b7973d94e0f58ad35b4621cc501ba13 /Porting
parent889794d34c832b4fb85e18b8e0a4048d6353b45e (diff)
downloadperl-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-xPorting/bisect-runner.pl17
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