commit: 6b043a3fc58e218b230173047b13038bb33888b9 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Wed Feb 7 06:37:01 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 7 19:20:01 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b043a3f
sys-libs/gpm: prevent LTO, since it is broken src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match original declaration [-Werror=lto-type-mismatch] Bug: https://bugs.gentoo.org/885323 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/gpm/gpm-1.20.7-r5.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys-libs/gpm/gpm-1.20.7-r5.ebuild b/sys-libs/gpm/gpm-1.20.7-r5.ebuild index 7a85dd0848ee..738560a07fb2 100644 --- a/sys-libs/gpm/gpm-1.20.7-r5.ebuild +++ b/sys-libs/gpm/gpm-1.20.7-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools linux-info systemd usr-ldscript multilib-minimal +inherit autotools flag-o-matic linux-info systemd usr-ldscript multilib-minimal DESCRIPTION="Console-based mouse driver" HOMEPAGE="https://www.nico.schottelius.org/software/gpm/" @@ -71,6 +71,10 @@ src_prepare() { } multilib_src_configure() { + # bug #885323 + # src/headers/daemon.h:175:25: error: type of ‘cinfo’ does not match original declaration [-Werror=lto-type-mismatch] + filter-lto + # emacs support disabled due to bug #99533, bug #335900 econf \ --disable-static \