commit:     995947d9e5787552d849b6754c8c5aa22823354c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  7 23:49:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  7 23:49:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995947d9

x11-libs/vte: filter LTO

Upstream don't support LTO & error out on it in meson.build.

Closes: https://bugs.gentoo.org/926156
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-libs/vte/vte-0.68.0.ebuild | 7 +++++--
 x11-libs/vte/vte-0.74.2.ebuild | 5 ++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/x11-libs/vte/vte-0.68.0.ebuild b/x11-libs/vte/vte-0.68.0.ebuild
index 1fec0100cb79..31a008153e99 100644
--- a/x11-libs/vte/vte-0.68.0.ebuild
+++ b/x11-libs/vte/vte-0.68.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..10} )
 
-inherit gnome.org meson python-any-r1 vala xdg
+inherit flag-o-matic gnome.org meson python-any-r1 vala xdg
 
 DESCRIPTION="Library providing a virtual terminal emulator widget"
 HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE 
https://gitlab.gnome.org/GNOME/vte";
@@ -69,6 +69,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # Upstream don't support LTO & error out on it in meson.build (bug 
#926156)
+       filter-lto
+
        local emesonargs=(
                -Da11y=true
                $(meson_use debug debugg)

diff --git a/x11-libs/vte/vte-0.74.2.ebuild b/x11-libs/vte/vte-0.74.2.ebuild
index 30b7a48f852b..65965005d79e 100644
--- a/x11-libs/vte/vte-0.74.2.ebuild
+++ b/x11-libs/vte/vte-0.74.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit gnome.org meson python-any-r1 vala xdg
+inherit flag-o-matic gnome.org meson python-any-r1 vala xdg
 
 DESCRIPTION="Library providing a virtual terminal emulator widget"
 HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE";
@@ -69,6 +69,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # Upstream don't support LTO & error out on it in meson.build (bug 
#926156)
+       filter-lto
+
        local emesonargs=(
                -Da11y=true
                $(meson_use debug debugg)

Reply via email to