commit: 6795cc4ecfff4ff5c94a6f6a39e68df0d51e12b6 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Sep 17 17:48:15 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Sep 17 17:49:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6795cc4e
media-libs/libpng: fix NEON on ARM64 As of 1.6.38, =check is banned on arm64 because NEON is always present there. We don't need =check otherwise, so just enable conditionally based on whether cpu_flags_arm_neon is on. (configure also says =check is deprecated/unsupported.) Note that while cpu_flags_arm_neon is masked on arm64 in general, it's unmasked for packages which we know work, like libpng (as it's been fine before 1.6.38). Closes: https://bugs.gentoo.org/870298 Thanks-to: Roy Bamford <neddyseagoon <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libpng/libpng-1.6.38.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/libpng/libpng-1.6.38.ebuild b/media-libs/libpng/libpng-1.6.38.ebuild index 26f8a8b0427d..e2ba9967246d 100644 --- a/media-libs/libpng/libpng-1.6.38.ebuild +++ b/media-libs/libpng/libpng-1.6.38.ebuild @@ -35,7 +35,7 @@ src_prepare() { multilib_src_configure() { local myeconfargs=( - $(use_enable cpu_flags_arm_neon arm-neon check) + $(use_enable cpu_flags_arm_neon arm-neon) $(use_enable cpu_flags_x86_sse intel-sse) $(use_enable static-libs static) )
