dev-util/fuzz: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/898764
Closes: https://bugs.gentoo.org/875440
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-03-05 03:19:08 +00:00
parent 3e9b5c2a21
commit ce8343e708

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
inherit autotools toolchain-funcs
DESCRIPTION="Stress-tests programs by giving them random input"
HOMEPAGE="http://fuzz.sourceforge.net/"
@@ -11,13 +11,14 @@ DEB_P="${PN}_${PV}"
DEB_PR="7.3"
SRC_URI="
mirror://sourceforge/${PN}/${P}.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.diff.gz"
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.diff.gz
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="sys-libs/readline:0="
DEPEND="sys-libs/readline:="
RDEPEND="${DEPEND}"
PATCHES=( "${WORKDIR}"/${DEB_P}-${DEB_PR}.diff )
@@ -25,6 +26,8 @@ PATCHES=( "${WORKDIR}"/${DEB_P}-${DEB_PR}.diff )
src_prepare() {
default
tc-export CC
# Clang 16, bug #898764
eautoreconf
}
src_install() {