summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-07-05 10:14:18 +0200
committerGitHub <noreply@github.com>2023-07-05 10:14:18 +0200
commit082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f (patch)
tree0754bfbc5fe924ec644cadade1e6ed639e59af1a
parentf365386447c39ae21cccfe7b844f844c9d59e99c (diff)
downloadspack-082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f.tar.gz
spack-082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f.tar.bz2
spack-082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f.tar.xz
spack-082afe04b84c201f84b4d9cf9bdc8e3e8dbdeb8f.zip
xrootd: add _STAT_VER patch (#38547)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/xrootd/package.py7
1 files changed, 7 insertions, 0 deletions
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(