Diff bc-1.08.0 with a bc-1.07.1-r6

/usr/portage/sys-devel/bc/bc-1.07.1-r6.ebuild 2024-12-25 14:59:52.791270183 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
11 11

  
12 12
LICENSE="GPL-3+"
13 13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
14
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
15 15
IUSE="libedit readline static"
16 16

  
17 17
RDEPEND="
......
19 19
	readline? (
20 20
		sys-libs/readline:=
21 21
		sys-libs/ncurses:=
22
	)
23
"
22
	)"
24 23
DEPEND="${RDEPEND}"
25 24
BDEPEND="
26 25
	sys-devel/flex
27
	app-alternatives/yacc
28
"
26
	app-alternatives/yacc"
29 27
PDEPEND="app-alternatives/bc"
30 28

  
29
PATCHES=( "${FILESDIR}"/${PN}-1.07.1-no-ed-its-sed.patch )
30

  
31
src_prepare() {
32
	default
33

  
34
	# Avoid bad build tool usage when cross-compiling. Bug #627126
35
	tc-is-cross-compiler && eapply "${FILESDIR}"/${PN}-1.07.1-use-system-bc.patch
36
}
37

  
31 38
src_configure() {
32 39
	local myconf=(
33 40
		$(use_with readline)
Thank you!