python3-fpylll: fix build with Python 3.11
This commit is contained in:
parent
2d806982e1
commit
17de6fc6cb
1 changed files with 11 additions and 0 deletions
11
srcpkgs/python3-fpylll/patches/python-3.11.patch
Normal file
11
srcpkgs/python3-fpylll/patches/python-3.11.patch
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue