diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2024-10-22 13:38:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 11:38:57 -0700 |
commit | 9c8b5f58c01d54858871a81a047ad0b1a13cae35 (patch) | |
tree | 46da70b5dd59c80d40f7bbd8f3ea33ad3d239412 /var | |
parent | 50aa5a7b249da2105d7601a3af4fb6e8a6de6844 (diff) | |
download | spack-9c8b5f58c01d54858871a81a047ad0b1a13cae35.tar.gz spack-9c8b5f58c01d54858871a81a047ad0b1a13cae35.tar.bz2 spack-9c8b5f58c01d54858871a81a047ad0b1a13cae35.tar.xz spack-9c8b5f58c01d54858871a81a047ad0b1a13cae35.zip |
py-datrie: patch to allow gcc-14 compilation (#47017)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-datrie/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-datrie/package.py b/var/spack/repos/builtin/packages/py-datrie/package.py index 559ad594d8..e7a77f128b 100644 --- a/var/spack/repos/builtin/packages/py-datrie/package.py +++ b/var/spack/repos/builtin/packages/py-datrie/package.py @@ -22,3 +22,8 @@ class PyDatrie(PythonPackage): depends_on("py-setuptools@40.8:", type=("build")) depends_on("py-cython@0.28:", 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") |