python3-gevent: fix build with Cython 3.0.10

Cython 3.0.10 generates code which causes compiler errors:

src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types]

>From discussion upstream, removing the final decorator works around this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2024-06-06 17:16:04 +00:00
committed by Khem Raj
parent d06a9c5049
commit 6b9167400b
2 changed files with 18 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ RDEPENDS:${PN} = "python3-greenlet \
python3-zopeinterface \
"
SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch"
SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \
file://not-final.patch"
SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056"