From a5ea3947424dc9f286e5b32f77a4ae43dcaed07a Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 19 Mar 2023 01:53:34 +0000 Subject: [PATCH] app-text/sgrep: fix configure w/ clang 16 Closes: https://bugs.gentoo.org/900533 Signed-off-by: Sam James --- .../sgrep/{sgrep-1.94a-r1.ebuild => sgrep-1.94a-r2.ebuild} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename app-text/sgrep/{sgrep-1.94a-r1.ebuild => sgrep-1.94a-r2.ebuild} (88%) diff --git a/app-text/sgrep/sgrep-1.94a-r1.ebuild b/app-text/sgrep/sgrep-1.94a-r2.ebuild similarity index 88% rename from app-text/sgrep/sgrep-1.94a-r1.ebuild rename to app-text/sgrep/sgrep-1.94a-r2.ebuild index eb45eb4f246ab..de456e40df778 100644 --- a/app-text/sgrep/sgrep-1.94a-r1.ebuild +++ b/app-text/sgrep/sgrep-1.94a-r2.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools + DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and HTML and filter" HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html" SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz" @@ -19,6 +21,9 @@ src_prepare() { default sed -i "s:/usr/lib:${EPREFIX}/etc:g" sgrep.1 || die + + # Clang 16, bug #900533 + eautoreconf } src_configure() {