commit: 7c80effd0524f66c797628a0e290bc57ba3dcc13
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 05:45:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 05:45:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c80effd
dev-util/rats: fix configure w/ clang 16
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/rats/{rats-2.4-r1.ebuild => rats-2.4-r2.ebuild} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dev-util/rats/rats-2.4-r1.ebuild b/dev-util/rats/rats-2.4-r2.ebuild
similarity index 92%
rename from dev-util/rats/rats-2.4-r1.ebuild
rename to dev-util/rats/rats-2.4-r2.ebuild
index d252d30fb296..6e50805b79bd 100644
--- a/dev-util/rats/rats-2.4-r1.ebuild
+++ b/dev-util/rats/rats-2.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit edos2unix
+inherit autotools edos2unix
DESCRIPTION="RATS - Rough Auditing Tool for Security"
HOMEPAGE="https://github.com/andrew-d/rough-auditing-tool-for-security"
@@ -13,7 +13,6 @@
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
RDEPEND="dev-libs/expat:="
DEPEND="${RDEPEND}"
@@ -28,6 +27,9 @@ src_prepare() {
einfo "Converting ${f} from CRLF to LF"
edos2unix "${f}"
done < <(find \( -name '*.[chl]' -o -name '*.in' -o -name '*.am' \)
-print0)
+
+ # Clang 16
+ eautoreconf
}
src_configure() {