Diff radare2-5.8.8 with a radare2-5.8.8-r1

/usr/portage/dev-util/radare2/radare2-5.8.8-r1.ebuild 2023-10-09 14:52:30.992368388 +0300
11 11
ARM64_COMMIT=55d73c6bbb94448a5c615933179e73ac618cf876
12 12
ARMV7_COMMIT=f270a6cc99644cb8e76055b6fa632b25abd26024
13 13
BINS_COMMIT=b598433124fd1fad032e92ca2588b5c0e58674c4
14
CAPSTONE_VER=4.0.2
15 14

  
16 15
if [[ ${PV} == *9999 ]]; then
17 16
	inherit git-r3
......
20 19
	SRC_URI="mirror+https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz
21 20
		mirror+https://github.com/radareorg/vector35-arch-arm64/archive/${ARM64_COMMIT}.tar.gz -> ${P}-vector35-arm64.tar.gz
22 21
		mirror+https://github.com/radareorg/vector35-arch-armv7/archive/${ARMV7_COMMIT}.tar.gz -> ${P}-vector35-armv7.tar.gz
23
		mirror+https://codeload.github.com/capstone-engine/capstone/tar.gz/${CAPSTONE_VER} -> ${P}-capstone-${CAPSTONE_VER}.tar.gz
24 22
		test? ( https://github.com/radareorg/radare2-testbins/archive/${BINS_COMMIT}.tar.gz -> radare2-testbins-${BINS_COMMIT}.tar.gz )
25 23
	"
26 24

  
......
35 33
RESTRICT="fetch !test? ( test )"
36 34

  
37 35
RDEPEND="
36
	>=dev-libs/capstone-5.0_rc4:=
38 37
	dev-libs/libzip:=
39 38
	dev-libs/xxhash
40 39
	sys-apps/file
......
49 48

  
50 49
PATCHES=(
51 50
	"${FILESDIR}/${PN}-5.8.2-vector35.patch"
52
	# Maybe temporary, https://bugs.gentoo.org/891805
53
	"${FILESDIR}/${PN}-5.8.2-bundled-capstone.patch"
54 51
)
55 52

  
56 53
src_prepare() {
57 54
	default
58 55

  
59
	mv "${WORKDIR}/capstone-${CAPSTONE_VER}" shlr/capstone || die
60

  
61 56
	# Hack for vector35 arm plugins
62 57
	mv "${WORKDIR}/vector35-arch-arm64-${ARM64_COMMIT}" libr/arch/p/arm/v35/arch-arm64 || die
63 58
	mv "${WORKDIR}/vector35-arch-armv7-${ARMV7_COMMIT}" libr/arch/p/arm/v35/arch-armv7 || die
......
79 74

  
80 75
	econf \
81 76
		--without-libuv \
77
		--with-syscapstone \
82 78
		--with-sysmagic \
83 79
		--with-sysxxhash \
84 80
		--with-syszip \
Thank you!