From 082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Wed, 5 Jul 2023 10:14:18 +0200 Subject: xrootd: add _STAT_VER patch (#38547) Co-authored-by: jmcarcell --- var/spack/repos/builtin/packages/xrootd/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/xrootd/package.py b/var/spack/repos/builtin/packages/xrootd/package.py index 03c6bad67f..5f283e28e7 100644 --- a/var/spack/repos/builtin/packages/xrootd/package.py +++ b/var/spack/repos/builtin/packages/xrootd/package.py @@ -123,6 +123,13 @@ class Xrootd(CMakePackage): conflicts("openssl@3:", when="@:5.3.99") extends("python", when="+python") + + # Issue with _STAT_VER not being defined, fixed in 5.0.3 + patch( + "https://github.com/xrootd/xrootd/commit/1f2d48fa23ba220ce92bf8ec6c15305ebbf19564.diff?full_index=1", + sha256="cfb5c2a13257012c6f117e8a1d0a3831b02586e910d845b5ff5e80d1ab2119bc", + when="@4:5.0.2", + ) patch("python-support.patch", level=1, when="@:4.8+python") # https://github.com/xrootd/xrootd/pull/1805 patch( -- cgit v1.2.3-60-g2f50