mirror of
https://github.com/boostorg/website.git
synced 2026-01-19 04:42:17 +00:00
Add Boost 1.80.0 patch for Config
This commit is contained in:
@@ -25,6 +25,9 @@ Please keep the list of libraries sorted in lexicographical order.
|
||||
These are patches from library authors which were found too late to be fixed
|
||||
in the release.
|
||||
|
||||
* Config
|
||||
* Support for libcpp15 which removes `std::unary_function` and
|
||||
`std::binary_function`. [@/patches/1_80_0/0005-config-libcpp15.patch Patch].
|
||||
* Filesystem
|
||||
* Directory iterators may fail to construct for a network share on Windows prior to 10, see [github_pr filesystem 246] and [github filesystem 245].
|
||||
[@/patches/1_80_0/0001-filesystem-win-fix-dir-it-net-share.patch Patch].
|
||||
|
||||
17
patches/1_80_0/0005-config-libcpp15.patch
Normal file
17
patches/1_80_0/0005-config-libcpp15.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
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 ---
|
||||
@@ -40,6 +40,7 @@ https://www.boost.org/development/website_updating.html
|
||||
<li><a href="1_80_0/0002-filesystem-fix-weakly-canonical-long-paths.patch">0002-filesystem-fix-weakly-canonical-long-paths.patch</a></li>
|
||||
<li><a href="1_80_0/0003-unordered-valid-after-move.patch">0003-unordered-valid-after-move.patch</a></li>
|
||||
<li><a href="1_80_0/0004-filesystem-posix-fix-no-at-apis-missing-include.patch">0004-filesystem-posix-fix-no-at-apis-missing-include.patch</a></li>
|
||||
<li><a href="1_80_0/0005-config-libcpp15.patch">0005-config-libcpp15.patch</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>1.79.0</h2>
|
||||
|
||||
Reference in New Issue
Block a user