You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
e16848289d
Installation is isolated under ${prefix}/libexec/boost171 to allow
parallel installation of multiple boost versions.
23 lines
499 B
Diff
23 lines
499 B
Diff
--- libs/mpi/src/python/datatypes.cpp.orig
|
|
+++ libs/mpi/src/python/datatypes.cpp
|
|
@@ -13,6 +13,10 @@
|
|
#include <boost/mpi/python/serialize.hpp>
|
|
#include <boost/mpi.hpp>
|
|
|
|
+#if PY_MAJOR_VERSION >= 3
|
|
+#define PyInt_Type PyLong_Type
|
|
+#endif
|
|
+
|
|
namespace boost { namespace mpi { namespace python {
|
|
|
|
void export_datatypes()
|
|
--- libs/mpi/build/__init__.py.orig
|
|
+++ libs/mpi/build/__init__.py
|
|
@@ -6,5 +6,5 @@
|
|
import mpi
|
|
sys.setdlopenflags(flags)
|
|
else:
|
|
- import mpi
|
|
+ from . import mpi
|
|
|