Сравнение libxml2-2.10.4 с libxml2-2.11.4

/usr/portage/dev-libs/libxml2/libxml2-2.11.4.ebuild 2023-10-09 14:52:29.536368351 +0300
5 5

  
6 6
# Note: Please bump in sync with dev-libs/libxslt
7 7

  
8
PYTHON_COMPAT=( python3_{9..11} )
8
PYTHON_COMPAT=( python3_{10..12} )
9 9
PYTHON_REQ_USE="xml(+)"
10
inherit flag-o-matic python-r1 multilib-minimal toolchain-funcs
10
inherit flag-o-matic python-r1 multilib-minimal
11 11

  
12 12
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
13 13
XSTS_NAME_1="xmlschema2002-01-16"
......
31 31
		${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
32 32
		${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
33 33
		https://www.w3.org/XML/Test/${XMLCONF_TARBALL}
34
	)"
34
	)
35
"
35 36
S="${WORKDIR}/${PN}-${PV%_rc*}"
36 37

  
37 38
LICENSE="MIT"
......
40 41
RESTRICT="!test? ( test )"
41 42
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
42 43

  
43
RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
44
RDEPEND="
45
	virtual/libiconv
46
	>=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
44 47
	icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
45 48
	lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
46 49
	python? ( ${PYTHON_DEPS} )
47
	readline? ( sys-libs/readline:= )"
50
	readline? ( sys-libs/readline:= )
51
"
48 52
DEPEND="${RDEPEND}"
49 53
BDEPEND="virtual/pkgconfig"
50 54

  
......
56 60
	/usr/bin/xml2-config
57 61
)
58 62

  
59
PATCHES=( "${FILESDIR}"/${PN}-2.10.3-python3-unicode-errors.patch )
60

  
61
DOCS=( NEWS README.md TODO TODO_SCHEMAS python/TODO )
62

  
63 63
src_unpack() {
64 64
	if [[ ${PV} == 9999 ]] ; then
65 65
		git-r3_src_unpack
......
102 102
	# Filter seemingly problematic CFLAGS (bug #26320)
103 103
	filter-flags -fprefetch-loop-arrays -funroll-loops
104 104

  
105
	# ideally we want !tc-ld-is-bfd for best future-proofing, but it needs
106
	# https://github.com/gentoo/gentoo/pull/28355
107
	# mold needs this too but right now tc-ld-is-mold is also not available
108
	if tc-ld-is-lld; then
109
		append-ldflags -Wl,--undefined-version
105
	# Workaround for too simplistic iconv check already addressed
106
	# upstream (bug #907065), should be dropped on next release.
107
	if [[ ${CHOST} == *-solaris* ]] ; then
108
		append-libs iconv
110 109
	fi
111 110

  
112 111
	# Notes:
Спасибо!