diff --git a/srcpkgs/python3-fpylll/patches/python-3.11.patch b/srcpkgs/python3-fpylll/patches/python-3.11.patch new file mode 100644 index 00000000000..b5a6c0efbf1 --- /dev/null +++ b/srcpkgs/python3-fpylll/patches/python-3.11.patch @@ -0,0 +1,11 @@ +--- 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