Diff binutils-libs-2.34-r2 with a binutils-libs-2.35.2

/usr/portage/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild 2023-10-09 14:52:35.536368503 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
PATCH_VER=6
6
PATCH_VER=1
7 7
PATCH_DEV=dilfridge
8 8

  
9 9
inherit libtool toolchain-funcs multilib-minimal
......
20 20

  
21 21
LICENSE="|| ( GPL-3 LGPL-3 )"
22 22
SLOT="0/${PV}"
23
IUSE="64-bit-bfd multitarget nls static-libs"
23
IUSE="64-bit-bfd cet multitarget nls static-libs"
24 24
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris"
25 25

  
26 26
BDEPEND="nls? ( sys-devel/gettext )"
......
30 30
	>=sys-devel/binutils-config-5
31 31
"
32 32

  
33
PATCHES=("${FILESDIR}"/${PN}-2.35.1-cet.patch)
34

  
33 35
S="${WORKDIR}/${MY_P}"
34 36

  
35 37
MULTILIB_WRAPPED_HEADERS=(
......
89 91
		# avoid automagic dependency on (currently prefix) systems
90 92
		# systems with debuginfod library, bug #754753
91 93
		--without-debuginfod
94

  
95
		# Allow user to opt into CET for host libraries.
96
		# Ideally we would like automagic-or-disabled here.
97
		# But the check does not quite work on i686: bug #760926.
98
		$(use_enable cet)
92 99
	)
93 100

  
94 101
	# mips can't do hash-style=gnu ...
......
102 109
		&& myconf+=( --without-included-gettext ) \
103 110
		|| myconf+=( --disable-nls )
104 111

  
112
	if [[ ${CHOST} == *-darwin* ]] && use nls ; then
113
		# fix underlinking in opcodes
114
		sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \
115
			"${S}"/opcodes/Makefile.in || die
116
	fi
117

  
105 118
	ECONF_SOURCE=${S} \
106 119
	econf "${myconf[@]}"
107 120

  
Thank you!