summaryrefslogtreecommitdiff
path: root/dev-libs/boost/files/boost-1.88.0-yap-cstdint.patch
blob: c7602f41104353cee62af97a14acb364b11f6dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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>;