petsc/petsc-porting_to_python311.patch

12 lines
387 B
Diff
Raw Permalink Normal View History

2022-01-13 14:00:04 +00:00
--- 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