perl: fix build failure in GCC10
authorKen Wong <redacted>
Sat, 16 May 2020 05:30:42 +0000 (13:30 +0800)
committerDavid Woodhouse <redacted>
Wed, 3 Jun 2020 10:59:49 +0000 (11:59 +0100)
commit65578a43f0d12c02888df00b6fdc90c73a02875c
treee6e72b21793a245500f00ec0c163f8998e95435d
parent5f6f54b851f71bea1fafba1b790bd8597773cffb
perl: fix build failure in GCC10

The perl Configure file was matching GCC 10 against "1*" and treating it
as GCC 1, causing ABI breakage and segfaults.

Cherry-pick the upstream patch which fixes it to check against (e.g)
"1.*" instead, which will make it work for hundreds more GCC versions
to come.

https://github.com/Perl/perl5/commit/6bd6308fcea3541
 "Adapt Configure to GCC version 10"

Also includes the previous commit just adding GCC 8 and 9 to one case:
https://github.com/Perl/perl5/commit/ae195500577d707
 "Add gcc-8 and gcc-9 for FORTIFY_SOURCE"

Signed-off-by: Ken Wong <redacted>
lang/perl/patches/999-fix-build-failure-against-gcc-10.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT