summaryrefslogtreecommitdiff
path: root/devel/boost-libs/files/patch-boost-mpi-python-PEP-328
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2022-05-22 19:38:37 +0300
committerDima Panov <fluffy@FreeBSD.org>2022-05-22 23:17:00 +0300
commitae17808e4a1b635038b5a80216cbf98bafdbb2ef (patch)
tree95384d8e42e5e05ef6299f9f11004b062ae2d1dd /devel/boost-libs/files/patch-boost-mpi-python-PEP-328
parentdevel/sonarqube-community: update plugins (diff)
devel/boost-all: update Boost to 1.79.0 release (+)
Please welcome a longawaited boost-* upgrade. It introduces a full support for OpenSSL3.0, Clang13+, C++17/C++20 standards and more. Since 1.74 release Boost library introduced some internal changes which breaks comsumers of outdated API. All failed consumers will be marked as BROKEN in separated commits. Special thanks for all community members who take a long survey with real environments testing. Changelogs: https://www.boost.org/users/history/version_1_73_0.html https://www.boost.org/users/history/version_1_74_0.html https://www.boost.org/users/history/version_1_75_0.html https://www.boost.org/users/history/version_1_76_0.html https://www.boost.org/users/history/version_1_77_0.html https://www.boost.org/users/history/version_1_78_0.html https://www.boost.org/users/history/version_1_79_0.html PR: 246106 Exp-runs by: antoine
Diffstat (limited to 'devel/boost-libs/files/patch-boost-mpi-python-PEP-328')
-rw-r--r--devel/boost-libs/files/patch-boost-mpi-python-PEP-32817
1 files changed, 17 insertions, 0 deletions
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
+