summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2024-01-19 15:09:46 -0500
committerGitHub <noreply@github.com>2024-01-19 15:09:46 -0500
commitee16d59221eda80b95929e92ab760f23e6aff38b (patch)
tree138c7bbebbb1f86116da51b849edda1cfb0c83a8
parent39a7780754a1728b17ab4c11593df3e25bd7370d (diff)
downloadspack-ee16d59221eda80b95929e92ab760f23e6aff38b.tar.gz
spack-ee16d59221eda80b95929e92ab760f23e6aff38b.tar.bz2
spack-ee16d59221eda80b95929e92ab760f23e6aff38b.tar.xz
spack-ee16d59221eda80b95929e92ab760f23e6aff38b.zip
ROOT: fix macos build for 6.30 (#42198)
-rw-r--r--var/spack/repos/builtin/packages/root/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index cec503f4cf..54ea8a1ef9 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -124,6 +124,12 @@ class Root(CMakePackage):
# Resolve circular dependency, _cf_
# https://sft.its.cern.ch/jira/browse/ROOT-8226.
patch("root6-60606-mathmore.patch", when="@6.06.06")
+ # Fix macOS build when cocoa is disabled:
+ patch(
+ "https://github.com/root-project/root/pull/14387.patch?full_index=1",
+ sha256="559495f7bdd6b7674d3b1019da9b76e8b374f6dca3dbe72fb1320b0be2b00e53",
+ when="@6.30:6.30.3 ~aqua",
+ )
# ###################### Variants ##########################
# See README.md for specific notes about what ROOT configuration