From: Andreas K. Hüttel Date: Wed, 16 Oct 2019 12:33:35 +0000 (+0200) Subject: dev-lang/perl: Add alignment fix also for armv5te, bug 688432 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44dca7fe88de3c6b1ea877f977313eda3fbd0831;p=gentoo.git dev-lang/perl: Add alignment fix also for armv5te, bug 688432 Closes: https://bugs.gentoo.org/688432 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel --- diff --git a/dev-lang/perl/perl-5.28.2-r1.ebuild b/dev-lang/perl/perl-5.28.2-r1.ebuild index 9ef9792798d4..7b7d5e187dfd 100644 --- a/dev-lang/perl/perl-5.28.2-r1.ebuild +++ b/dev-lang/perl/perl-5.28.2-r1.ebuild @@ -468,9 +468,11 @@ src_configure() { # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 - # bug #676062 - use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \ - myconf "-Dd_u32align='define'" + # https://rt.perl.org/Public/Bug/Display.html?id=133803 + # bug #676062, bug #688432 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] || \ + [[ ${CHOST} == armv5tel* ]] \ + && myconf "-Dd_u32align='define'" # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find diff --git a/dev-lang/perl/perl-5.30.0.ebuild b/dev-lang/perl/perl-5.30.0.ebuild index 47ecb930d471..0b85d04ff374 100644 --- a/dev-lang/perl/perl-5.30.0.ebuild +++ b/dev-lang/perl/perl-5.30.0.ebuild @@ -464,9 +464,11 @@ src_configure() { # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 - # bug #676062 - use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \ - myconf "-Dd_u32align='define'" + # https://rt.perl.org/Public/Bug/Display.html?id=133803 + # bug #676062, bug #688432 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] || \ + [[ ${CHOST} == armv5tel* ]] \ + && myconf "-Dd_u32align='define'" # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find