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 <zhixu.liu@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40782
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu
2024-12-13 13:38:17 +08:00
committed by Sam James
parent ac5a3dcc81
commit c2e5b53ef7

View File

@@ -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) \