packages/lang/perl/patches
Ken Wong 445c3d8f86 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 <xinxijishuwyq@gmail.com>
(cherry picked from commit 65578a43f0)
2020-06-13 15:22:51 -07:00
..
010-musl-compat.patch perl: fix compilation with glibc 2.27 2018-10-16 11:45:12 +02:00
020-storables-stacksize.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
100-fix-cross-compile-endianness-detection.patch perl: Reorganize patches 2015-09-25 11:50:52 +02:00
110-always_use_miniperl.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
120-remove-build-timestamp.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
300-add-relink-hack.patch perl: Reorganize patches 2015-09-25 11:50:52 +02:00
301-fix_macos_static_linking.patch perl: fixed host compilation of static perl on MacOS 2019-11-10 18:28:23 +01:00
320-copy-pod-hack.patch lang/perl: Upgraded to Perl 5.24.1 2017-05-10 14:46:25 -04:00
710-threads_join-skip_ps_on_busybox.patch perl: ensure File::Spec::canonpath() preserves taint [CVE-2015-8607] 2016-01-14 12:17:56 +01:00
900-use-rm-force.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
910-miniperl-needs-inc-dot.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
920-fix-no-locale.patch perl: update to 5.28.1 2018-12-03 15:58:49 -07:00
998-Errno_errno.h_path.patch perl: define $sysroot for extensions 2020-02-15 22:05:28 -08:00
999-fix-build-failure-against-gcc-10.patch perl: fix build failure in GCC10 2020-06-13 15:22:51 -07:00