From c2e5b53ef71e7cc36b65cd5fc310607872ed34a1 Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Fri, 13 Dec 2024 13:38:17 +0800 Subject: [PATCH] media-libs/libfpx: workaround to fix build with clang 19 had been fixed by upstream but patch is too large Closes: https://bugs.gentoo.org/896246 Signed-off-by: Z. Liu Closes: https://github.com/gentoo/gentoo/pull/40782 Signed-off-by: Sam James --- media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild index 59235c4ea6ef1..a06152cd7dc0a 100644 --- a/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild +++ b/media-libs/libfpx/libfpx-1.3.1_p10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,6 +38,11 @@ src_configure() { append-flags -fno-strict-aliasing filter-lto + # https://bugs.gentoo.org/896246 + # already fixed by upstream but the patch is too large, waiting for new releases + # https://github.com/ImageMagick/libfpx/commit/5f340b0a490450b40302cc9948c7dfac60d40041 + append-cxxflags -std=gnu++14 + append-ldflags -Wl,--no-undefined econf \ $(use_enable static-libs static) \