commit:     d5cacc66cbfba30c2c76c5a43a4ad00ad52e991c
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Apr 11 03:27:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 16:28:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5cacc66

net-fs/curlftpfs: mark as LTO-unsafe

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

 net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild 
b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
index 8fc39ff713c1..5430a3e098e2 100644
--- a/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
+++ b/net-fs/curlftpfs/curlftpfs-0.9.2-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="File system for accessing ftp hosts based on FUSE"
 HOMEPAGE="http://curlftpfs.sourceforge.net/";
@@ -39,6 +39,15 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/861299
+       # https://sourceforge.net/p/curlftpfs/bugs/76/
+       filter-lto
+
+       default
+}
+
 src_install() {
        default
        dodoc README

Reply via email to