From 925ef108801dfd2bafc4a9c2fa0d5c0b68bdf3cb Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 5 May 2024 01:03:26 -0400 Subject: [PATCH] media-plugins/x42-plugins: mark as LTO-unsafe Closes: https://bugs.gentoo.org/860402 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- media-plugins/x42-plugins/x42-plugins-20220605.ebuild | 9 +++++++-- media-plugins/x42-plugins/x42-plugins-20220714.ebuild | 9 +++++++-- media-plugins/x42-plugins/x42-plugins-99999999.ebuild | 9 +++++++-- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/media-plugins/x42-plugins/x42-plugins-20220605.ebuild b/media-plugins/x42-plugins/x42-plugins-20220605.ebuild index f57cf56abcb2e..48b97eecbcb15 100644 --- a/media-plugins/x42-plugins/x42-plugins-20220605.ebuild +++ b/media-plugins/x42-plugins/x42-plugins-20220605.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Collection of LV2 plugins" HOMEPAGE="https://github.com/x42/x42-plugins" @@ -40,6 +40,11 @@ DEPEND="${RDEPEND} sys-apps/help2man" src_compile() { + # -Werror=odr + # https://bugs.gentoo.org/860402 + # https://github.com/x42/meters.lv2/issues/41 + filter-lto + emake CC="$(tc-getCC)" STRIP="#" FONTFILE="/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf" } diff --git a/media-plugins/x42-plugins/x42-plugins-20220714.ebuild b/media-plugins/x42-plugins/x42-plugins-20220714.ebuild index f57cf56abcb2e..48b97eecbcb15 100644 --- a/media-plugins/x42-plugins/x42-plugins-20220714.ebuild +++ b/media-plugins/x42-plugins/x42-plugins-20220714.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Collection of LV2 plugins" HOMEPAGE="https://github.com/x42/x42-plugins" @@ -40,6 +40,11 @@ DEPEND="${RDEPEND} sys-apps/help2man" src_compile() { + # -Werror=odr + # https://bugs.gentoo.org/860402 + # https://github.com/x42/meters.lv2/issues/41 + filter-lto + emake CC="$(tc-getCC)" STRIP="#" FONTFILE="/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf" } diff --git a/media-plugins/x42-plugins/x42-plugins-99999999.ebuild b/media-plugins/x42-plugins/x42-plugins-99999999.ebuild index 2ee199d0ef8f4..776121d83fa4e 100644 --- a/media-plugins/x42-plugins/x42-plugins-99999999.ebuild +++ b/media-plugins/x42-plugins/x42-plugins-99999999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Collection of LV2 plugins" HOMEPAGE="https://github.com/x42/x42-plugins" @@ -40,6 +40,11 @@ DEPEND="${RDEPEND} sys-apps/help2man" src_compile() { + # -Werror=odr + # https://bugs.gentoo.org/860402 + # https://github.com/x42/meters.lv2/issues/41 + filter-lto + emake CC="$(tc-getCC)" STRIP="#" FONTFILE="/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf" }