commit:     c2e5b53ef71e7cc36b65cd5fc310607872ed34a1
Author:     Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Fri Dec 13 05:38:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 02:39:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2e5b53e

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 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40782
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 59235c4ea6ef..a06152cd7dc0 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) \

Reply via email to