Diff zsh-5.9-r3 with a zsh-5.9-r4

/usr/portage/app-shells/zsh/zsh-5.9-r4.ebuild 2023-10-09 14:52:28.864368334 +0300
5 5

  
6 6
inherit autotools flag-o-matic prefix
7 7

  
8
if [[ ${PV} == 9999* ]] ; then
9
	inherit git-r3
10
	EGIT_REPO_URI="https://git.code.sf.net/p/zsh/code"
11
else
12
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
13
	SRC_URI="https://www.zsh.org/pub/${P}.tar.xz
14
		https://www.zsh.org/pub/old/${P}.tar.xz
15
		mirror://sourceforge/${PN}/${P}.tar.xz
16
		doc? (
17
			https://www.zsh.org/pub/${P}-doc.tar.xz
18
			mirror://sourceforge/${PN}/${P}-doc.tar.xz
19
		)"
20
fi
8
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
9

  
10
SRC_URI="https://www.zsh.org/pub/${P}.tar.xz
11
	https://www.zsh.org/pub/old/${P}.tar.xz
12
	mirror://sourceforge/${PN}/${P}.tar.xz
13
	doc? (
14
		https://www.zsh.org/pub/${P}-doc.tar.xz
15
		mirror://sourceforge/${PN}/${P}-doc.tar.xz
16
	)"
21 17

  
22 18
DESCRIPTION="UNIX Shell similar to the Korn shell"
23 19
HOMEPAGE="https://www.zsh.org/"
24 20

  
25 21
LICENSE="ZSH gdbm? ( GPL-2 )"
26 22
SLOT="0"
27
IUSE="caps debug doc examples gdbm maildir pcre static"
23
IUSE="caps debug doc examples gdbm maildir pcre static valgrind"
28 24

  
25
# Next release should use pcre2: https://github.com/zsh-users/zsh/commit/b62e911341c8ec7446378b477c47da4256053dc0
29 26
RDEPEND="
30 27
	>=sys-libs/ncurses-5.1:0=
31 28
	static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
......
40 37
	)
41 38
"
42 39
DEPEND="sys-apps/groff
40
	valgrind? ( dev-util/valgrind )
43 41
	${RDEPEND}"
44 42
PDEPEND="
45 43
	examples? ( app-doc/zsh-lovers )
......
60 58
	"${FILESDIR}"/${PN}-5.9-musl-V09datetime-test-fix.patch
61 59
	# bug #869539
62 60
	"${FILESDIR}"/${PN}-5.9-clang-15-configure.patch
61
	"${FILESDIR}"/${PN}-5.9-do-not-use-egrep-in-tests.patch
63 62
)
64 63

  
65 64
src_prepare() {
......
95 94
		$(use_enable pcre)
96 95
		$(use_enable caps cap)
97 96
		$(use_enable gdbm)
97
		$(use_enable valgrind zsh-valgrind)
98 98
	)
99 99

  
100 100
	if use static ; then
......
154 154
		unset LANG
155 155
		rm "${S}"/Test/E02xtrace.ztst || die
156 156
	fi
157

  
158
	# Breaks tests if inherited from environment.
159
	unset TMPPREFIX
160

  
157 161
	addpredict /dev/ptmx
158 162
	local i
159 163
	for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
Thank you!