commit:     46ca7fec8948323a0b9c15866363473b76b93e90
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 03:07:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 05:28:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ca7fec

x11-misc/rofi: mark as LTO-unsafe

Fixed upstream but we are waiting for a new version.

Closes: https://bugs.gentoo.org/881281
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/rofi/rofi-1.7.5.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/x11-misc/rofi/rofi-1.7.5.ebuild b/x11-misc/rofi/rofi-1.7.5.ebuild
index aa90b0c02f84..69974bf5e0e4 100644
--- a/x11-misc/rofi/rofi-1.7.5.ebuild
+++ b/x11-misc/rofi/rofi-1.7.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools toolchain-funcs xdg-utils
+inherit autotools flag-o-matic toolchain-funcs xdg-utils
 
 DESCRIPTION="A window switcher, run dialog and dmenu replacement"
 HOMEPAGE="https://github.com/davatorium/rofi";
@@ -51,6 +51,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/881281
+       # fixed upstream in git next, remove on next version bump
+       filter-lto
+
        # Doesn't work with reflex, bug #887049
        export LEX=flex
 

Reply via email to