commit: fb0eb4f9bf93b8524a8140265f03b1526597861f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 04:28:47 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 25 04:31:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0eb4f9
dev-libs/libxml2: enable py3.12, sync live
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libxml2/libxml2-2.11.4.ebuild | 2 +-
dev-libs/libxml2/libxml2-9999.ebuild | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libxml2/libxml2-2.11.4.ebuild
b/dev-libs/libxml2/libxml2-2.11.4.ebuild
index e421de936733..45757ffa2a9d 100644
--- a/dev-libs/libxml2/libxml2-2.11.4.ebuild
+++ b/dev-libs/libxml2/libxml2-2.11.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
# Note: Please bump in sync with dev-libs/libxslt
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="xml(+)"
inherit flag-o-matic python-r1 multilib-minimal
diff --git a/dev-libs/libxml2/libxml2-9999.ebuild
b/dev-libs/libxml2/libxml2-9999.ebuild
index b7e202fefbb5..45757ffa2a9d 100644
--- a/dev-libs/libxml2/libxml2-9999.ebuild
+++ b/dev-libs/libxml2/libxml2-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
# Note: Please bump in sync with dev-libs/libxslt
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="xml(+)"
inherit flag-o-matic python-r1 multilib-minimal
@@ -101,6 +101,10 @@ multilib_src_configure() {
# Filter seemingly problematic CFLAGS (bug #26320)
filter-flags -fprefetch-loop-arrays -funroll-loops
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ append-libs iconv
+ fi
+
# Notes:
# The meaning of the 'debug' USE flag does not apply to the --with-debug
# switch (enabling the libxml2 debug module). See bug #100898.