void-packages/srcpkgs/python3-fpylll/patches/python-3.11.patch

12 lines
316 B
Diff

--- a/src/fpylll/gmp/pylong.pxd
+++ b/src/fpylll/gmp/pylong.pxd
@@ -3,7 +3,7 @@
Various functions to deal with conversion mpz <-> Python int/long
"""
-cdef extern from "longintrepr.h":
+cdef extern from "Python.h":
cdef _PyLong_New(Py_ssize_t s)
cdef long PyLong_SHIFT
ctypedef unsigned int digit