commit:     e9d9fffdbcbf521f680dc64851b055c50ac70fd8
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu May  9 01:26:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  9 01:30:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d9fffd

kde-apps/kfloppy: mark as LTO-unsafe

I submitted an upstream patch to fix it, but not importing it here since
it isn't merged yet.

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

 kde-apps/kfloppy/kfloppy-23.04.3.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kfloppy/kfloppy-23.04.3.ebuild 
b/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
index 1e21867924f0..548e83df0664 100644
--- a/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
+++ b/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 ECM_HANDBOOK="forceoptional"
 KFMIN=5.106.0
 QTMIN=5.15.9
-inherit ecm gear.kde.org
+inherit ecm flag-o-matic gear.kde.org
 
 DESCRIPTION="Straightforward graphical means to format 3.5\" and 5.25\" floppy 
disks"
 HOMEPAGE="https://apps.kde.org/kfloppy/";
@@ -30,3 +30,12 @@ DEPEND="
        >=kde-frameworks/kxmlgui-${KFMIN}:5
 "
 RDEPEND="${DEPEND}"
+
+src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/926320
+       # https://invent.kde.org/utilities/kfloppy/-/merge_requests/8
+       filter-lto
+
+       cmake_src_configure
+}

Reply via email to