commit:     5898a5667147856426c3c842eb6eae4949575853
Author:     Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Mon Jun 24 05:08:12 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 03:35:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5898a566

x11-wm/muffin: Add filter-lto for LTO issues with USE="wayland"

Bug: https://bugs.gentoo.org/933879
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 x11-wm/muffin/muffin-6.0.1-r1.ebuild | 6 +++++-
 x11-wm/muffin/muffin-6.0.1-r2.ebuild | 6 +++++-
 x11-wm/muffin/muffin-6.2.0.ebuild    | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/x11-wm/muffin/muffin-6.0.1-r1.ebuild 
b/x11-wm/muffin/muffin-6.0.1-r1.ebuild
index 92298d7401d7..c7d7979e68da 100644
--- a/x11-wm/muffin/muffin-6.0.1-r1.ebuild
+++ b/x11-wm/muffin/muffin-6.0.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit gnome2-utils meson python-any-r1 virtualx
+inherit flag-o-matic gnome2-utils meson python-any-r1 virtualx
 
 DESCRIPTION="Compositing window manager forked from Mutter for use with 
Cinnamon"
 HOMEPAGE="https://projects.linuxmint.com/cinnamon/ 
https://github.com/linuxmint/muffin";
@@ -157,6 +157,10 @@ src_configure() {
                )
        fi
 
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/933879
+       use wayland && filter-lto
+
        meson_src_configure
 }
 

diff --git a/x11-wm/muffin/muffin-6.0.1-r2.ebuild 
b/x11-wm/muffin/muffin-6.0.1-r2.ebuild
index e435de52195d..881c52c194a2 100644
--- a/x11-wm/muffin/muffin-6.0.1-r2.ebuild
+++ b/x11-wm/muffin/muffin-6.0.1-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit gnome2-utils meson python-any-r1 virtualx
+inherit flag-o-matic gnome2-utils meson python-any-r1 virtualx
 
 DESCRIPTION="Compositing window manager forked from Mutter for use with 
Cinnamon"
 HOMEPAGE="https://projects.linuxmint.com/cinnamon/ 
https://github.com/linuxmint/muffin";
@@ -164,6 +164,10 @@ src_configure() {
                )
        fi
 
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/933879
+       use wayland && filter-lto
+
        meson_src_configure
 }
 

diff --git a/x11-wm/muffin/muffin-6.2.0.ebuild 
b/x11-wm/muffin/muffin-6.2.0.ebuild
index 1a6516497de1..30fc4b7ff295 100644
--- a/x11-wm/muffin/muffin-6.2.0.ebuild
+++ b/x11-wm/muffin/muffin-6.2.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit gnome2-utils meson python-any-r1 virtualx
+inherit flag-o-matic gnome2-utils meson python-any-r1 virtualx
 
 DESCRIPTION="Compositing window manager forked from Mutter for use with 
Cinnamon"
 HOMEPAGE="https://projects.linuxmint.com/cinnamon/ 
https://github.com/linuxmint/muffin";
@@ -157,6 +157,10 @@ src_configure() {
                )
        fi
 
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/933879
+       use wayland && filter-lto
+
        meson_src_configure
 }
 

Reply via email to