Сравнение afl-2.57b-r1 с afl-2.57b-r2

/usr/portage/app-forensics/afl/afl-2.57b-r2.ebuild 2023-10-09 14:52:28.748368331 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit multilib toolchain-funcs flag-o-matic
6
inherit toolchain-funcs
7

  
8
# See https://github.com/google/AFL/pull/117
9
PATCHES=(
10
	"${FILESDIR}/${P}-install-readmemd.diff"
11
	"${FILESDIR}/${P}-implicit-int-clang16.patch"
12
)
7 13

  
8 14
DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer"
9 15
HOMEPAGE="https://lcamtuf.coredump.cx/afl/"
......
14 20
KEYWORDS="~amd64"
15 21

  
16 22
DEPEND="sys-devel/gcc:*
17
	sys-devel/clang:=
18 23
	!app-forensics/aflplusplus"
19 24
RDEPEND="${DEPEND}"
20 25
QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf"
......
26 31
		PREFIX="${EPREFIX}/usr" \
27 32
		HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
28 33
		DOC_PATH="${EPREFIX}/usr/share/doc/${PF}"
29
	CC="clang" CXX="clang++" strip-unsupported-flags
30
	cd llvm_mode || die
31
	emake \
32
		PREFIX="${EPREFIX}/usr" \
33
		HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
34
		DOC_PATH="${EPREFIX}/usr/share/doc/${PF}"
34
#	Not compatible with latest clang, see
35
#	https://github.com/google/AFL/issues/151
36
#
37
#	CC="clang" CXX="clang++" strip-unsupported-flags
38
#	cd llvm_mode || die
39
#	emake \
40
#		PREFIX="${EPREFIX}/usr" \
41
#		HELPER_PATH="${EPREFIX}/usr/$(get_libdir)/afl" \
42
#		DOC_PATH="${EPREFIX}/usr/share/doc/${PF}"
35 43
}
36 44

  
37 45
src_install() {
Спасибо!