commit: 0518bf825c5834935484f672dabd5afcb08cc530 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed May 8 03:26:23 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 8 19:19:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0518bf82
x11-libs/cmrt: mark as LTO-unsafe, strict-aliasing unsafe The software is dead upstream. In August 2022 (almost immediately after the package was added to the tree), the README.md was updated to say: > Intel has ceased development and contributions including, but not > limited to, maintenance, bug fixes, new releases, or updates, to this > project. > > Intel no longer accepts patches to this project. and the github repository was marked as archived. No point in reporting anything, because you can't even if you want to. Just mark it as unsafe and move on. Closes: https://bugs.gentoo.org/864409 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> x11-libs/cmrt/cmrt-1.0.6-r3.ebuild | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/x11-libs/cmrt/cmrt-1.0.6-r3.ebuild b/x11-libs/cmrt/cmrt-1.0.6-r3.ebuild index 7ed6d16eae5e..4973586aa1ac 100644 --- a/x11-libs/cmrt/cmrt-1.0.6-r3.ebuild +++ b/x11-libs/cmrt/cmrt-1.0.6-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools +inherit autotools flag-o-matic DESCRIPTION="Intel C for Media RunTime GPU kernel manager" HOMEPAGE="https://github.com/intel/cmrt" @@ -29,6 +29,22 @@ src_prepare() { eautoreconf } +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/864409 + # + # > Intel has ceased development and contributions including, but not + # > limited to, maintenance, bug fixes, new releases, or updates, to this + # > project. Intel no longer accepts patches to this project. + # No point in submitting a bug report or trying to get this into good shape. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + + default +} + src_install() { default find "${ED}" -type f -name '*.la' -delete || die