mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
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
Reference in a new issue