diff --git a/CMakeExternals/Boost.patch b/CMakeExternals/Boost.patch index a802a0b3b0..44323f685a 100644 --- a/CMakeExternals/Boost.patch +++ b/CMakeExternals/Boost.patch @@ -1,34 +1,6 @@ ---- a/include/boost/iostreams/detail/config/fpos.hpp -+++ b/include/boost/iostreams/detail/config/fpos.hpp -@@ -1,7 +1,7 @@ - /* -- * Distributed under the Boost Software License, Version 1.0.(See accompanying -+ * Distributed under the Boost Software License, Version 1.0.(See accompanying - * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) -- * -+ * - * See http://www.boost.org/libs/iostreams for documentation. - - * File: boost/iostreams/detail/execute.hpp -@@ -11,7 +11,7 @@ - * Contact: turkanis at coderage dot com - * - * Defines the preprocessor symbol BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for -- * platforms that use the implementation of std::fpos from the Dinkumware -+ * platforms that use the implementation of std::fpos from the Dinkumware - * Standard Library. - */ - -@@ -25,9 +25,10 @@ - #include - - # if (defined(_YVALS) || defined(_CPPLIB_VER)) && !defined(__SGI_STL_PORT) && \ -- !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) -+ !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) \ -+ && !(defined(BOOST_MSVC) && _MSVC_STL_VERSION >= 141) - /**/ -- -+ - #include - - # define BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS +diff --binary -r boost_1_68_0.orig/boost/iostreams/detail/config/fpos.hpp boost_1_68_0/boost/iostreams/detail/config/fpos.hpp +28c28,29 +< !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) +--- +> !defined(_STLPORT_VERSION) && !defined(__QNX__) && !defined(_VX_CPU) && !defined(__VXWORKS__) \ +> && !(defined(BOOST_MSVC) && _MSVC_STL_VERSION >= 141)