py-datrie: patch to allow gcc-14 compilation (#47017)
This commit is contained in:
parent
50aa5a7b24
commit
9c8b5f58c0
@ -22,3 +22,8 @@ class PyDatrie(PythonPackage):
|
|||||||
depends_on("py-setuptools@40.8:", type=("build"))
|
depends_on("py-setuptools@40.8:", type=("build"))
|
||||||
depends_on("py-cython@0.28:", type="build")
|
depends_on("py-cython@0.28:", type="build")
|
||||||
depends_on("py-pytest-runner", type="build")
|
depends_on("py-pytest-runner", type="build")
|
||||||
|
|
||||||
|
@when("@:0.8.2")
|
||||||
|
def patch(self):
|
||||||
|
# fix failure to compile on gcc-14, https://github.com/pytries/datrie/pull/99
|
||||||
|
filter_file(r"(\s*)(struct AlphaMap:)", r"\1ctypedef \2", "src/cdatrie.pxd")
|
||||||
|
Loading…
Reference in New Issue
Block a user