From 93f46f4f8dfd02fc6bc515d6f8293a65dccfa154 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 17 May 2024 02:05:59 -0400 Subject: [PATCH] sys-apps/sed: regenerate autoconf to get a Modern C fix in There are also some suppressions that are going to be added to portage itself for gnulib checks that are *expected* to fail. Backported to sys-apps/portage. [sam: Revbump.] Closes: https://bugs.gentoo.org/900382 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- sys-apps/sed/{sed-4.9.ebuild => sed-4.9-r1.ebuild} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename sys-apps/sed/{sed-4.9.ebuild => sed-4.9-r1.ebuild} (89%) diff --git a/sys-apps/sed/sed-4.9.ebuild b/sys-apps/sed/sed-4.9-r1.ebuild similarity index 89% rename from sys-apps/sed/sed-4.9.ebuild rename to sys-apps/sed/sed-4.9-r1.ebuild index ef4336465acc5..96c05b2fc3200 100644 --- a/sys-apps/sed/sed-4.9.ebuild +++ b/sys-apps/sed/sed-4.9-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sed.asc -inherit flag-o-matic verify-sig +inherit autotools flag-o-matic verify-sig DESCRIPTION="Super-useful stream editor" HOMEPAGE="https://www.gnu.org/software/sed/" @@ -33,6 +33,12 @@ DEPEND="${RDEPEND} BDEPEND="nls? ( sys-devel/gettext ) verify-sig? ( sec-keys/openpgp-keys-sed )" +src_prepare() { + default + # Modern C fixes from latest autotools. bug #900382 + eautoreconf +} + src_configure() { use static && append-ldflags -static