Сравнение elfutils-0.189-r1 с elfutils-0.189-r3

/usr/portage/dev-libs/elfutils/elfutils-0.189-r3.ebuild 2023-10-09 14:52:29.496368350 +0300
9 9
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
10 10
HOMEPAGE="https://sourceware.org/elfutils/"
11 11
SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
12
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.187-patches.tar.xz"
13 12
SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )"
14 13

  
15 14
LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
16 15
SLOT="0"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
18
IUSE="bzip2 lzma nls static-libs test +utils zstd"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
17
IUSE="bzip2 debuginfod lzma nls static-libs test +utils zstd"
19 18
RESTRICT="!test? ( test )"
20 19

  
21 20
RDEPEND="
22 21
	!dev-libs/libelf
23 22
	>=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}]
24 23
	bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] )
24
	debuginfod? (
25
		app-arch/libarchive:=
26
		dev-db/sqlite:3=
27
		net-libs/libmicrohttpd:=
28

  
29
		net-misc/curl[static-libs?,${MULTILIB_USEDEP}]
30
	)
25 31
	lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] )
26 32
	zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] )
27 33
	elibc_musl? (
......
42 48
"
43 49

  
44 50
PATCHES=(
45
	"${WORKDIR}"/${PN}-0.187-patches/
51
	"${FILESDIR}"/${PN}-0.189-PaX-support.patch
52
	"${FILESDIR}"/${PN}-0.189-skip-DT_RELR-failing-tests.patch
53
	"${FILESDIR}"/${PN}-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch
54
	"${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch
55
	"${FILESDIR}"/${PN}-0.189-musl-macros.patch
46 56
	"${FILESDIR}"/${P}-configure-bashisms.patch
47 57
	"${FILESDIR}"/${P}-clang16-tests.patch
48 58
)
49 59

  
50
src_unpack() {
51
	if use verify-sig ; then
52
		# Needed for downloaded patch (which is unsigned, which is fine)
53
		verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig}
54
	fi
55

  
56
	default
57
}
58

  
59 60
src_prepare() {
60 61
	default
61 62

  
62
	if use elibc_musl; then
63
		eapply "${WORKDIR}"/${PN}-0.187-patches/musl/
64
	fi
65

  
66 63
	# Only here for ${P}-configure-bashisms.patch, delete on next bump!
67 64
	eautoreconf
68 65

  
......
78 75
	# bug #407135
79 76
	use test && append-flags -g
80 77

  
78
	# bug 660738
79
	filter-flags -fno-asynchronous-unwind-tables
80

  
81 81
	multilib-minimal_src_configure
82 82
}
83 83

  
84 84
multilib_src_configure() {
85 85
	local myeconfargs=(
86 86
		$(use_enable nls)
87
		--disable-debuginfod
88
		--disable-libdebuginfod
87
		$(multilib_native_use_enable debuginfod)
88
		$(use_enable debuginfod libdebuginfod)
89 89

  
90 90
		# explicitly disable thread safety, it's not recommended by upstream
91 91
		# doesn't build either on musl.
Спасибо!