diff options
Diffstat (limited to 'devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp')
-rw-r--r-- | devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp b/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp new file mode 100644 index 000000000000..b532f198507a --- /dev/null +++ b/devel/boost-libs/files/patch-libs_yap_test_operators__unary.cpp @@ -0,0 +1,20 @@ +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 + +--- libs/yap/test/operators_unary.cpp.orig 2025-08-06 18:49:15 UTC ++++ 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>; |