From ee16d59221eda80b95929e92ab760f23e6aff38b Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Fri, 19 Jan 2024 15:09:46 -0500 Subject: ROOT: fix macos build for 6.30 (#42198) --- var/spack/repos/builtin/packages/root/package.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-70-g09d2