commit:     ab0b111b8c2676ed8a06f321b028835ee1a75967
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  3 18:56:47 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Nov  3 19:07:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab0b111b

media-gfx/chafa: mark FP for implicit function decls in configure

It's an intrinsics check that will correctly fail when not available.

Closes: https://bugs.gentoo.org/927102
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-gfx/chafa/chafa-1.12.5-r1.ebuild | 5 +++++
 media-gfx/chafa/chafa-1.14.1.ebuild    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/media-gfx/chafa/chafa-1.12.5-r1.ebuild 
b/media-gfx/chafa/chafa-1.12.5-r1.ebuild
index 5086db9e3356..4c8a4adfa06b 100644
--- a/media-gfx/chafa/chafa-1.12.5-r1.ebuild
+++ b/media-gfx/chafa/chafa-1.12.5-r1.ebuild
@@ -23,6 +23,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # checking for intrinsics, will fail where not supported. bug #927102
+       _mm_popcnt_u64
+)
+
 src_configure() {
        # bug 909429
        use webp && append-ldflags -lwebp

diff --git a/media-gfx/chafa/chafa-1.14.1.ebuild 
b/media-gfx/chafa/chafa-1.14.1.ebuild
index 06484a9f1cb7..819bed597ca8 100644
--- a/media-gfx/chafa/chafa-1.14.1.ebuild
+++ b/media-gfx/chafa/chafa-1.14.1.ebuild
@@ -22,6 +22,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # checking for intrinsics, will fail where not supported. bug #927102
+       _mm_popcnt_u64
+)
+
 src_configure() {
        # bug 909429
        use webp && append-ldflags -lwebp

Reply via email to