Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sgrep/
Date: Sun, 19 Mar 2023 02:10:43
Message-Id: 1679190814.a5ea3947424dc9f286e5b32f77a4ae43dcaed07a.sam@gentoo
1 commit: a5ea3947424dc9f286e5b32f77a4ae43dcaed07a
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 01:53:34 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 01:53:34 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ea3947
7
8 app-text/sgrep: fix configure w/ clang 16
9
10 Closes: https://bugs.gentoo.org/900533
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-text/sgrep/{sgrep-1.94a-r1.ebuild => sgrep-1.94a-r2.ebuild} | 7 ++++++-
14 1 file changed, 6 insertions(+), 1 deletion(-)
15
16 diff --git a/app-text/sgrep/sgrep-1.94a-r1.ebuild b/app-text/sgrep/sgrep-1.94a-r2.ebuild
17 similarity index 88%
18 rename from app-text/sgrep/sgrep-1.94a-r1.ebuild
19 rename to app-text/sgrep/sgrep-1.94a-r2.ebuild
20 index eb45eb4f246a..de456e40df77 100644
21 --- a/app-text/sgrep/sgrep-1.94a-r1.ebuild
22 +++ b/app-text/sgrep/sgrep-1.94a-r2.ebuild
23 @@ -1,8 +1,10 @@
24 -# Copyright 1999-2022 Gentoo Authors
25 +# Copyright 1999-2023 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=8
29
30 +inherit autotools
31 +
32 DESCRIPTION="Use structural criteria to grep and index text, SGML, XML and HTML and filter"
33 HOMEPAGE="https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"
34 SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/${P}.tar.gz"
35 @@ -19,6 +21,9 @@ src_prepare() {
36 default
37
38 sed -i "s:/usr/lib:${EPREFIX}/etc:g" sgrep.1 || die
39 +
40 + # Clang 16, bug #900533
41 + eautoreconf
42 }
43
44 src_configure() {