void-packages/srcpkgs/python3-lxml/patches/cython3-legacy.patch

13 lines
377 B
Diff

diff --git a/setupinfo.py b/setupinfo.py
index 5feb13bf..ea1b391c 100644
--- a/setupinfo.py
+++ b/setupinfo.py
@@ -148,6 +148,7 @@ def ext_modules(static_include_dirs, static_library_dirs,
cythonize_directives = {
'binding': True,
+ 'legacy_implicit_noexcept': True,
}
if OPTION_WITH_COVERAGE:
cythonize_directives['linetrace'] = True