Diff btop-1.2.13-r1 with a btop-1.2.13-r2

/usr/portage/sys-process/btop/btop-1.2.13-r2.ebuild 2023-10-09 14:52:35.576368504 +0300
11 11

  
12 12
LICENSE="Apache-2.0"
13 13
SLOT="0"
14
KEYWORDS="amd64 ~arm arm64 ~mips ~ppc ppc64 ~riscv x86"
15

  
16
BDEPEND="
17
	>=sys-devel/gcc-8
18
"
14
KEYWORDS="amd64 ~arm arm64 ~m68k ~mips ~ppc ppc64 ~riscv x86"
19 15

  
20 16
PATCHES=(
21 17
	# Backported fixes for https://bugs.gentoo.org/884005,
22 18
	# can be removed in 1.2.14 or later
23 19
	"${FILESDIR}/${P}-fix-makefile-deps.patch"
24 20
	"${FILESDIR}/${P}-verbose-mkdir.patch"
21

  
22
	# Backported fix for https://bugs.gentoo.org/908670
23
	# can be removed in 1.2.14 or later
24
	"${FILESDIR}/${P}-musl-1.2.4-lfs64.patch"
25

  
26
	# Backported patch to allow compilation with clang 16 or above
27
	# can be removed in 1.2.14 or later
28
	"${FILESDIR}/${P}-allow-clang.patch"
25 29
)
26 30

  
27 31
pkg_setup() {
28 32
	if [[ "${MERGE_TYPE}" != "binary" ]]; then
29
		if ! tc-is-gcc ; then
30
			# https://bugs.gentoo.org/839318
31
			die "$(tc-getCXX) is not a supported compiler. Please use sys-devel/gcc instead."
33
		if tc-is-clang ; then
34
			if [[ "$(clang-major-version)" -lt 16 ]]; then
35
				die "sys-process/btop requires >=sys-devel/clang-16.0.0 to build."
36
			fi
37
		elif ! tc-is-gcc ; then
38
			die "$(tc-getCXX) is not a supported compiler. Please use sys-devel/gcc or >=sys-devel/clang-16.0.0 instead."
32 39
		fi
33 40
	fi
34 41
}
Thank you!