petsc/petsc-porting_to_python311.patch
2022-01-13 15:00:04 +01:00

12 lines
387 B
Diff

--- a/src/petsc4py.PETSc.origin.c 2022-01-06 03:57:32.000000000 +0100
+++ b/src/petsc4py.PETSc.c 2022-01-12 20:44:44.434469854 +0100
@@ -193,7 +193,7 @@
#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
#endif
#if CYTHON_USE_PYLONG_INTERNALS
- #include "longintrepr.h"
+ #include "cpython/longintrepr.h"
#undef SHIFT
#undef BASE
#undef MASK