gentoo/dev-libs/boost/files/boost-1.88.0-yap-cstdint.patch
Holger Hoffstätte 6343cf3dd0
dev-libs/boost: fix network sandbox failure & more gcc-15 fallout
Fixes for some previosuly undetected test fallout:
- beast: delete a test that fails with network-sandbox
- bind: disable -Werror for gcc-15
- callable_traits: fails with gcc-15
- yap: add <cstdint> for gcc-15

Closes: https://bugs.gentoo.org/954810
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/41818
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-28 15:33:03 +01:00

23 lines
701 B
Diff

Building tests with gcc-15 fails with:
operators_unary.cpp: In function 'int main()':
operators_unary.cpp:30:14: error: 'uint32_t' was not declared in this scope
30 | term<uint32_t> x{{2u}};
| ^~~~~~~~
Bug: https://bugs.gentoo.org/954810
diff --git boost_1_88_0/libs/yap/test/operators_unary.cpp~ boost_1_88_0/libs/yap/test/operators_unary.cpp
index c65aead..25a6b2f 100644
--- boost_1_88_0/libs/yap/test/operators_unary.cpp~
+++ boost_1_88_0/libs/yap/test/operators_unary.cpp
@@ -8,7 +8,7 @@
#include <boost/core/lightweight_test.hpp>
#include <sstream>
-
+#include <cstdint>
template<typename T>
using term = boost::yap::terminal<boost::yap::expression, T>;