app-text/sgrep: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/900533
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-03-19 01:53:34 +00:00
parent cd25dba278
commit a5ea394742

View File

@@ -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() {