1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-21 21:27:07 +00:00
termux-packages/packages/boost/boost-1.80.0-0005-config-libcpp15.patch

18 lines
536 B
Diff

diff -urN boost_1_80_0/boost/config/stdlib/libcpp.hpp boost_1_80_1/boost/config/stdlib/libcpp.hpp
--- boost_1_80_0/boost/config/stdlib/libcpp.hpp 2022-08-03 22:47:07.000000000 -0400
+++ boost_1_80_1/boost/config/stdlib/libcpp.hpp 2022-09-16 22:16:17.044119011 -0400
@@ -168,4 +168,13 @@
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
#endif
+#if _LIBCPP_VERSION >= 15000
+//
+// Unary function is now deprecated in C++11 and later:
+//
+#if __cplusplus >= 201103L
+#define BOOST_NO_CXX98_FUNCTION_BASE
+#endif
+#endif
+
// --- end ---