dev-db/mariadb: restrict libfmt-11

libfmt-11.1.0 changed behaviour of FMT_STATIC_THOUSANDS_SEPARATOR, which
is used in mariadb, therefore it is necessary to restrict libfmt-11 to
older version, =libfmt-11.0*.

Closes: https://bugs.gentoo.org/946924
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2024-12-27 18:03:15 +01:00
parent ec703e4ce5
commit 6de7065a20
2 changed files with 6 additions and 2 deletions

View File

@@ -40,11 +40,13 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
#
# libfmt-10 contains a bug which was fixed in libfmt-11, see
# https://jira.mariadb.org/browse/MDEV-32815, bug 946074
# libfmt-11.1 works with # FMT_STATIC_THOUSANDS_SEPARATOR
# differently, bug 946924
COMMON_DEPEND="
dev-libs/libfmt:=
|| (
<dev-libs/libfmt-10
>=dev-libs/libfmt-11
=dev-libs/libfmt-11.0*
)
>=dev-libs/libpcre2-10.34:=
>=sys-apps/texinfo-4.7-r1

View File

@@ -40,11 +40,13 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
#
# libfmt-10 contains a bug which was fixed in libfmt-11, see
# https://jira.mariadb.org/browse/MDEV-32815, bug 946074
# libfmt-11.1 works with # FMT_STATIC_THOUSANDS_SEPARATOR
# differently, bug 946924
COMMON_DEPEND="
dev-libs/libfmt:=
|| (
<dev-libs/libfmt-10
>=dev-libs/libfmt-11
=dev-libs/libfmt-11.0*
)
>=dev-libs/libpcre2-10.34:=
>=sys-apps/texinfo-4.7-r1