From dafdf9c1294a617237b95017d744637ab17d1f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Tue, 6 May 2025 23:29:17 +0200 Subject: [PATCH] dev-libs/boost: fix mysql tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Holger Hoffstätte Part-of: https://github.com/gentoo/gentoo/pull/41966 Signed-off-by: Sam James --- dev-libs/boost/boost-1.88.0.ebuild | 3 +-- .../files/boost-1.88.0-mysql-cstdint.patch | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 dev-libs/boost/files/boost-1.88.0-mysql-cstdint.patch diff --git a/dev-libs/boost/boost-1.88.0.ebuild b/dev-libs/boost/boost-1.88.0.ebuild index e1d6bd11e2169..3cee5989aa80a 100644 --- a/dev-libs/boost/boost-1.88.0.ebuild +++ b/dev-libs/boost/boost-1.88.0.ebuild @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.88.0-algorithm-reverse_copy.patch "${FILESDIR}"/${PN}-1.88.0-beast-network-sandbox.patch "${FILESDIR}"/${PN}-1.88.0-bind-no-Werror.patch + "${FILESDIR}"/${PN}-1.88.0-mysql-cstdint.patch "${FILESDIR}"/${PN}-1.88.0-yap-cstdint.patch ) @@ -265,8 +266,6 @@ multilib_src_test() { "math" # assignment of read-only member 'gauss::laguerre::detail::laguerre_l_object::order' "multiprecision" - # uint8_t is not a member of std - "mysql" # PyObject* boost::parameter::python::aux::unspecified_type(): # /usr/include/python3.13/object.h:339:30: error: lvalue required as left operand of assignment "parameter_python" diff --git a/dev-libs/boost/files/boost-1.88.0-mysql-cstdint.patch b/dev-libs/boost/files/boost-1.88.0-mysql-cstdint.patch new file mode 100644 index 0000000000000..0333138541eab --- /dev/null +++ b/dev-libs/boost/files/boost-1.88.0-mysql-cstdint.patch @@ -0,0 +1,22 @@ +Manual backport of: https://github.com/boostorg/mysql/pull/475 + +--- boost_1_88_0/boost/mysql/metadata.hpp~ 2025-04-03 13:37:28.000000000 +0200 ++++ boost_1_88_0/boost/mysql/metadata.hpp 2025-05-06 23:03:30.772695192 +0200 +@@ -15,6 +15,7 @@ + #include + #include + ++#include + #include + + namespace boost { +--- boost_1_88_0/boost/mysql/impl/internal/protocol/static_buffer.hpp~ 2025-04-03 13:37:28.000000000 +0200 ++++ boost_1_88_0/boost/mysql/impl/internal/protocol/static_buffer.hpp 2025-05-06 23:04:12.609390270 +0200 +@@ -14,6 +14,7 @@ + #include + + #include ++#include + #include + + namespace boost {