commit:     06e2a745ebceeb1e828e693e2f0d79738de1cdb0
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 06:46:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:04:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e2a745

app-arch/dump: mark as LTO-unsafe

Software is abandoned sourceforge-ware. It is also buggy and can cause
corruptions, so not incredibly worth optimizing how fast you can corrupt
your filesystem backups. Definitely not worth engaging with sourceforge
to report the bug.

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

 app-arch/dump/dump-0.4.47-r3.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/app-arch/dump/dump-0.4.47-r3.ebuild 
b/app-arch/dump/dump-0.4.47-r3.ebuild
index 90ba51ef81f7..ea26f905f91f 100644
--- a/app-arch/dump/dump-0.4.47-r3.ebuild
+++ b/app-arch/dump/dump-0.4.47-r3.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 readme.gentoo-r1
+inherit flag-o-matic readme.gentoo-r1
 
 MY_P="${PN}-$(ver_rs 2 b)"
 
@@ -53,6 +53,13 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/854204
+       #
+       # Abandoned upstream for 3 years. Known corruptions reported in
+       # pkg_postinst. Sourceforge software. Not bothering to report a bug...
+       filter-lto
+
        local myeconfargs=(
                --with-dumpdatespath=/etc/dumpdates
                --with-rmtpath='$(sbindir)/rmt'

Reply via email to