<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- libs/mpi/src/python/datatypes.cpp.orig
+++ libs/mpi/src/python/datatypes.cpp
@@ -13,6 +13,10 @@
 #include &lt;boost/mpi/python/serialize.hpp&gt;
 #include &lt;boost/mpi.hpp&gt;
 
+#if PY_MAJOR_VERSION &gt;= 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
 
</pre></body></html>