summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-14 00:29:55 +0000
committerSam James <sam@gentoo.org>2024-03-14 00:29:55 +0000
commitf199ce7fe94e1d86fe9b9de709cfd5fcba31f009 (patch)
tree22acc851e5cb84032e3441655ae7c554f3e2b981 /media-gfx
parentsci-calculators/wcalc: add patch to fix bashism (diff)
downloadgentoo-f199ce7fe94e1d86fe9b9de709cfd5fcba31f009.tar.gz
gentoo-f199ce7fe94e1d86fe9b9de709cfd5fcba31f009.tar.bz2
gentoo-f199ce7fe94e1d86fe9b9de709cfd5fcba31f009.zip
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@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/graphite2/graphite2-1.3.14_p20210810-r3.ebuild7
1 files 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