summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boost-libs/files')
-rw-r--r--devel/boost-libs/files/patch-boost-disable-icu-rpath29
-rw-r--r--devel/boost-libs/files/patch-boost-mpi-python-PEP-32817
-rw-r--r--devel/boost-libs/files/patch-boost_coroutine_asymmetric__coroutine.hpp43
-rw-r--r--devel/boost-libs/files/patch-boost_math_tools_config.hpp11
-rw-r--r--devel/boost-libs/files/patch-boost_regex_config.hpp13
-rw-r--r--devel/boost-libs/files/patch-c++20-concepts69
-rw-r--r--devel/boost-libs/files/patch-tools_boost_install_boost-install.jam38
7 files changed, 84 insertions, 136 deletions
diff --git a/devel/boost-libs/files/patch-boost-disable-icu-rpath b/devel/boost-libs/files/patch-boost-disable-icu-rpath
new file mode 100644
index 000000000000..f35ded0bc419
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost-disable-icu-rpath
@@ -0,0 +1,29 @@
+--- libs/locale/build/Jamfile.v2.orig 2021-04-13 16:22:15 UTC
++++ libs/locale/build/Jamfile.v2
+@@ -65,8 +65,8 @@ ICU_LINK = [ modules.peek : ICU_LINK ] ;
+
+ if $(ICU_LINK)
+ {
+- ICU_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <dll-path>$(ICU_PATH)/bin <runtime-link>shared ;
+- ICU64_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <dll-path>$(ICU_PATH)/bin64 <runtime-link>shared ;
++ ICU_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <runtime-link>shared ;
++ ICU64_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <runtime-link>shared ;
+ }
+ else
+ {
+@@ -124,7 +124,6 @@ else
+ <library>icuuc/<link>shared/<runtime-link>shared
+ <library>icudt/<link>shared/<runtime-link>shared
+ <library>icuin/<link>shared/<runtime-link>shared
+- <dll-path>$(ICU_PATH)/bin
+ <runtime-link>shared ;
+
+
+@@ -183,7 +182,6 @@ else
+ <library>icuuc_64/<link>shared/<runtime-link>shared
+ <library>icudt_64/<link>shared/<runtime-link>shared
+ <library>icuin_64/<link>shared/<runtime-link>shared
+- <dll-path>$(ICU_PATH)/bin64
+ <runtime-link>shared ;
+
+
diff --git a/devel/boost-libs/files/patch-boost-mpi-python-PEP-328 b/devel/boost-libs/files/patch-boost-mpi-python-PEP-328
new file mode 100644
index 000000000000..a32b8579ae1e
--- /dev/null
+++ b/devel/boost-libs/files/patch-boost-mpi-python-PEP-328
@@ -0,0 +1,17 @@
+--- libs/mpi/build/__init__.py.orig 2021-04-13 16:22:27 UTC
++++ libs/mpi/build/__init__.py
+@@ -1,10 +1,12 @@
++from __future__ import absolute_import
++
+ import sys
+ if sys.platform == 'linux2':
+ import DLFCN as dl
+ flags = sys.getdlopenflags()
+ sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
+- import mpi
++ from . import mpi
+ sys.setdlopenflags(flags)
+ else:
+- import mpi
++ from . import mpi
+
diff --git a/devel/boost-libs/files/patch-boost_coroutine_asymmetric__coroutine.hpp b/devel/boost-libs/files/patch-boost_coroutine_asymmetric__coroutine.hpp
deleted file mode 100644
index cf6c44332b6c..000000000000
--- a/devel/boost-libs/files/patch-boost_coroutine_asymmetric__coroutine.hpp
+++ /dev/null
@@ -1,43 +0,0 @@
-https://github.com/boostorg/coroutine/pull/45
-
---- boost/coroutine/asymmetric_coroutine.hpp.orig 2019-12-10 00:18:47 UTC
-+++ boost/coroutine/asymmetric_coroutine.hpp
-@@ -2361,32 +2361,32 @@ struct coroutine
- template< typename R >
- typename pull_coroutine< R >::iterator
- begin( pull_coroutine< R > & c)
--{ return boost::begin( c); }
-+{ return coroutines::range_begin( c); }
-
- template< typename R >
- typename pull_coroutine< R >::const_iterator
- begin( pull_coroutine< R > const& c)
--{ return boost::begin( c); }
-+{ return coroutines::range_begin( c); }
-
- template< typename R >
- typename pull_coroutine< R >::iterator
- end( pull_coroutine< R > & c)
--{ return boost::end( c); }
-+{ return coroutines::range_end( c); }
-
- template< typename R >
- typename pull_coroutine< R >::const_iterator
- end( pull_coroutine< R > const& c)
--{ return boost::end( c); }
-+{ return coroutines::range_end( c); }
-
- template< typename R >
- typename push_coroutine< R >::iterator
- begin( push_coroutine< R > & c)
--{ return boost::begin( c); }
-+{ return coroutines::range_begin( c); }
-
- template< typename R >
- typename push_coroutine< R >::iterator
- end( push_coroutine< R > & c)
--{ return boost::end( c); }
-+{ return coroutines::range_end( c); }
-
- }
-
diff --git a/devel/boost-libs/files/patch-boost_math_tools_config.hpp b/devel/boost-libs/files/patch-boost_math_tools_config.hpp
deleted file mode 100644
index a94db67b4a64..000000000000
--- a/devel/boost-libs/files/patch-boost_math_tools_config.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- boost/math/tools/config.hpp.orig 2016-09-21 14:33:24 UTC
-+++ boost/math/tools/config.hpp
-@@ -28,7 +28,7 @@
-
- #include <boost/math/tools/user.hpp>
-
--#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
-+#if (defined(__CYGWIN__) || defined(__NetBSD__) \
- || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
- && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
- # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
diff --git a/devel/boost-libs/files/patch-boost_regex_config.hpp b/devel/boost-libs/files/patch-boost_regex_config.hpp
deleted file mode 100644
index 635aa122f449..000000000000
--- a/devel/boost-libs/files/patch-boost_regex_config.hpp
+++ /dev/null
@@ -1,13 +0,0 @@
-https://github.com/boostorg/regex/issues/72
-
---- boost/regex/config.hpp.orig 2018-10-30 22:45:30 UTC
-+++ boost/regex/config.hpp
-@@ -117,7 +117,7 @@
- * Clang fails to export template instances with -fvisibility=hidden, see
- * https://github.com/boostorg/regex/issues/49
- */
--#ifdef __clang__
-+#if defined(__clang__) || defined(_LIBCPP_VERSION)
- # define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
- #endif
-
diff --git a/devel/boost-libs/files/patch-c++20-concepts b/devel/boost-libs/files/patch-c++20-concepts
deleted file mode 100644
index 6ac8296abc84..000000000000
--- a/devel/boost-libs/files/patch-c++20-concepts
+++ /dev/null
@@ -1,69 +0,0 @@
-From a707db8193b30b6cc4a3d10ee946f7f245e07097 Mon Sep 17 00:00:00 2001
-From: Christopher Kohlhoff <chris@kohlhoff.com>
-Date: Tue, 7 Apr 2020 11:18:31 +1000
-Subject: [PATCH] Support C++20 concept syntax.
-
----
- include/boost/asio/async_result.hpp | 18 +++++++++++-------
- include/boost/asio/detail/config.hpp | 10 +++++++---
- 2 files changed, 18 insertions(+), 10 deletions(-)
-
-diff --git a/include/boost/asio/async_result.hpp b/include/boost/asio/async_result.hpp
-index 2f4b337d1..0eea0f471 100644
---- boost/asio/async_result.hpp
-+++ boost/asio/async_result.hpp
-@@ -66,9 +66,10 @@ BOOST_ASIO_CONCEPT completion_signature =
- #define BOOST_ASIO_COMPLETION_SIGNATURE \
- ::boost::asio::completion_signature
-
--template <typename T, completion_signature Signature>
-+template <typename T, typename Signature>
- BOOST_ASIO_CONCEPT completion_handler_for =
-- detail::is_completion_handler_for<T, Signature>::value;
-+ detail::is_completion_signature<Signature>::value
-+ && detail::is_completion_handler_for<T, Signature>::value;
-
- #define BOOST_ASIO_COMPLETION_HANDLER_FOR(s) \
- ::boost::asio::completion_handler_for<s>
-@@ -488,11 +489,14 @@ struct initiation_archetype
-
- } // namespace detail
-
--template <typename T, completion_signature Signature>
--BOOST_ASIO_CONCEPT completion_token_for = requires(T&& t)
--{
-- async_initiate<T, Signature>(detail::initiation_archetype<Signature>{}, t);
--};
-+template <typename T, typename Signature>
-+BOOST_ASIO_CONCEPT completion_token_for =
-+ detail::is_completion_signature<Signature>::value
-+ &&
-+ requires(T&& t)
-+ {
-+ async_initiate<T, Signature>(detail::initiation_archetype<Signature>{}, t);
-+ };
-
- #define BOOST_ASIO_COMPLETION_TOKEN_FOR(s) \
- ::boost::asio::completion_token_for<s>
-diff --git a/include/boost/asio/detail/config.hpp b/include/boost/asio/detail/config.hpp
-index 27d1d6753..6b85cccea 100644
---- boost/asio/detail/config.hpp
-+++ boost/asio/detail/config.hpp
-@@ -343,10 +343,14 @@
- // Support concepts on compilers known to allow them.
- #if !defined(BOOST_ASIO_HAS_CONCEPTS)
- # if !defined(BOOST_ASIO_DISABLE_CONCEPTS)
--# if __cpp_concepts
-+# if defined(__cpp_concepts)
- # define BOOST_ASIO_HAS_CONCEPTS 1
--# define BOOST_ASIO_CONCEPT concept bool
--# endif // __cpp_concepts
-+# if (__cpp_concepts >= 201707)
-+# define BOOST_ASIO_CONCEPT concept
-+# else // (__cpp_concepts >= 201707)
-+# define BOOST_ASIO_CONCEPT concept bool
-+# endif // (__cpp_concepts >= 201707)
-+# endif // defined(__cpp_concepts)
- # endif // !defined(BOOST_ASIO_DISABLE_CONCEPTS)
- #endif // !defined(BOOST_ASIO_HAS_CONCEPTS)
-
diff --git a/devel/boost-libs/files/patch-tools_boost_install_boost-install.jam b/devel/boost-libs/files/patch-tools_boost_install_boost-install.jam
new file mode 100644
index 000000000000..fba4354d0ee0
--- /dev/null
+++ b/devel/boost-libs/files/patch-tools_boost_install_boost-install.jam
@@ -0,0 +1,38 @@
+--- tools/boost_install/boost-install.jam.orig 2021-04-13 16:23:18 UTC
++++ tools/boost_install/boost-install.jam
+@@ -1252,16 +1252,16 @@ rule boost-install ( libraries * )
+ alias install-libraries-shared : install-libraries-shared-cygwin : <target-os>cygwin ;
+ $(p).mark-target-as-explicit install-libraries-shared ;
+
+- install install-libraries-shared- : $(libraries) : <location>$(libdir) <install-type>SHARED_LIB <install-type>PDB <install-dependencies>on <install-no-version-symlinks>on ;
++ install install-libraries-shared- : $(libraries) : <location>$(libdir) <install-type>SHARED_LIB <install-type>PDB <install-dependencies>on ;
+ $(p).mark-target-as-explicit install-libraries-shared- ;
+
+- install install-libraries-shared-cygwin : $(libraries) : <location>$(bindir) <install-type>SHARED_LIB <install-type>PDB <install-dependencies>on <install-no-version-symlinks>on ;
++ install install-libraries-shared-cygwin : $(libraries) : <location>$(bindir) <install-type>SHARED_LIB <install-type>PDB <install-dependencies>on ;
+ $(p).mark-target-as-explicit install-libraries-shared-cygwin ;
+
+ install install-unprefixed-static : $(unprefixed) : <install-type>STATIC_LIB <conditional>@boost-install%install-subdir ;
+ $(p).mark-target-as-explicit install-unprefixed-static ;
+
+- install install-unprefixed-shared : $(unprefixed) : <install-type>SHARED_LIB <install-no-version-symlinks>on <conditional>@boost-install%install-subdir ;
++ install install-unprefixed-shared : $(unprefixed) : <install-type>SHARED_LIB <conditional>@boost-install%install-subdir ;
+ $(p).mark-target-as-explicit install-unprefixed-shared ;
+
+ install-cmake-config $(libraries) ;
+@@ -1281,13 +1281,13 @@ rule boost-install ( libraries * )
+ install stage-libraries-static : $(libraries) : <location>$(stage-libdir) <install-dependencies>on <install-type>STATIC_LIB ;
+ $(p).mark-target-as-explicit stage-libraries-static ;
+
+- install stage-libraries-shared : $(libraries) : <location>$(stage-libdir) <install-dependencies>on <install-type>SHARED_LIB <install-type>PDB <install-no-version-symlinks>on ;
++ install stage-libraries-shared : $(libraries) : <location>$(stage-libdir) <install-dependencies>on <install-type>SHARED_LIB <install-type>PDB ;
+ $(p).mark-target-as-explicit stage-libraries-shared ;
+
+ install stage-unprefixed-static : $(unprefixed) : <install-type>STATIC_LIB <conditional>@boost-install%stage-subdir ;
+ $(p).mark-target-as-explicit stage-unprefixed-static ;
+
+- install stage-unprefixed-shared : $(unprefixed) : <install-type>SHARED_LIB <install-type>PDB <install-no-version-symlinks>on <conditional>@boost-install%stage-subdir ;
++ install stage-unprefixed-shared : $(unprefixed) : <install-type>SHARED_LIB <install-type>PDB <conditional>@boost-install%stage-subdir ;
+ $(p).mark-target-as-explicit stage-unprefixed-shared ;
+
+ generate stage-dependencies : $(libraries) : <generating-rule>@boost-install%generate-dependencies <name>stage ;