Diff bash-5.3_p9 with a bash-9999

/usr/portage/app-shells/bash/bash-9999.ebuild 2026-04-04 11:46:07.557642361 +0300
15 15
MY_P=${PN}-${MY_PV}
16 16
MY_PATCHES=()
17 17

  
18
# Determine the patchlevel. See https://ftp.gnu.org/gnu/bash/bash-5.3-patches/.
18
# Determine the patchlevel.
19 19
case ${PV} in
20 20
	9999|*_alpha*|*_beta*|*_rc*)
21 21
		# Set a negative patchlevel to indicate that it's a pre-release.
......
75 75
LICENSE="GPL-3+"
76 76
SLOT="0"
77 77
if (( PLEVEL >= 0 )); then
78
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
78
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
79 79
fi
80 80
IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline"
81
# As of 5.4_alpha_pre20251016, bash tests finally exit non-0 on failure.
82
# The differences look harmless but need investigation and fixing.
83
RESTRICT="test"
81 84

  
82 85
DEPEND="
83 86
	>=sys-libs/ncurses-5.2-r2:=
......
101 104
PATCHES=(
102 105
	#"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/
103 106

  
107
	# bug #971782
108
	"${FILESDIR}"/${PN}-5.3_p9-general-workaround-aliasing-violation-in-REVERSE_LIS.patch
109

  
104 110
	# Patches to or from Chet, posted to the bug-bash mailing list.
105
	"${FILESDIR}"/${PN}-5.0-syslog-history-extern.patch
111
	"${FILESDIR}/${PN}-5.0-syslog-history-extern.patch"
106 112
)
107 113

  
108 114
pkg_setup() {
......
288 294
		# Used in test suite.
289 295
		unset -v A
290 296

  
291
		emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check
297
		# Testsuite isn't expected to pass for bash right now, but it
298
		# also doesn't matter for PGO.
299
		nonfatal emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check
292 300

  
293 301
		if tc-is-clang; then
294 302
			llvm-profdata merge "${T}"/pgo --output="${T}"/pgo/default.profdata || die
Thank you!