commit: dafdf9c1294a617237b95017d744637ab17d1f71 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Tue May 6 21:29:17 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 7 10:50:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafdf9c1
dev-libs/boost: fix mysql tests Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41966 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/boost/boost-1.88.0.ebuild | 3 +-- .../boost/files/boost-1.88.0-mysql-cstdint.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/dev-libs/boost/boost-1.88.0.ebuild b/dev-libs/boost/boost-1.88.0.ebuild index e1d6bd11e216..3cee5989aa80 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<T>::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 000000000000..0333138541ea --- /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 <boost/mysql/detail/coldef_view.hpp> + #include <boost/mysql/detail/flags.hpp> + ++#include <cstdint> + #include <string> + + 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 <boost/core/span.hpp> + + #include <array> ++#include <cstdint> + #include <cstring> + + namespace boost {
