From 06e2a745ebceeb1e828e693e2f0d79738de1cdb0 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 13 Mar 2024 02:46:12 -0400 Subject: [PATCH] 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 Signed-off-by: Sam James --- 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 90ba51ef81f72..ea26f905f91f7 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'