commit: f199ce7fe94e1d86fe9b9de709cfd5fcba31f009 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Mar 14 00:29:55 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 14 00:29:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f199ce7f
media-gfx/graphite2: filter LTO ODR violations. Also, previous attempts to upstream issues like e.g. linking with libstdc++ didn't go well. Closes: https://bugs.gentoo.org/875224 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild b/media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild index a2d978097e08..580df138e20e 100644 --- a/media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild +++ b/media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 COMMIT=80c52493ef42e6fe605a69dcddd2a691cd8a1380 GENTOO_DEPEND_ON_PERL="no" PYTHON_COMPAT=( python3_{9..11} ) -inherit perl-module python-any-r1 cmake-multilib +inherit flag-o-matic perl-module python-any-r1 cmake-multilib DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" HOMEPAGE="https://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_home" @@ -61,6 +61,9 @@ src_prepare() { } multilib_src_configure() { + # ODR (bug #875224) + filter-lto + local mycmakeargs=( # Renamed VM_MACHINE_TYPE to GRAPHITE2_VM_TYPE -DGRAPHITE2_VM_TYPE=direct
