SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/boost/patches/patch-boost_config_stdlib_libcpp_hpp
Normal file
20
devel/boost/patches/patch-boost_config_stdlib_libcpp_hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
The std lib unary/binary_function base classes are deprecated/removed from libcpp15.
|
||||
https://github.com/boostorg/container_hash/issues/24
|
||||
|
||||
Index: boost/config/stdlib/libcpp.hpp
|
||||
--- boost/config/stdlib/libcpp.hpp.orig
|
||||
+++ boost/config/stdlib/libcpp.hpp
|
||||
@@ -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 ---
|
Loading…
Add table
Add a link
Reference in a new issue