commit:     a5ea3947424dc9f286e5b32f77a4ae43dcaed07a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 01:53:34 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 01:53:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ea3947

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

Closes: https://bugs.gentoo.org/900533
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/sgrep/{sgrep-1.94a-r1.ebuild => sgrep-1.94a-r2.ebuild} | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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 eb45eb4f246a..de456e40df77 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() {

Reply via email to