root: remove unnecessary patches (#50022)

* root: 6.34 included this patch

* ROOT: no need to patch unless +root7 +geom +webgui
This commit is contained in:
Seth R. Johnson 2025-04-11 13:20:04 -04:00 committed by GitHub
parent fd1b982073
commit 246ac7ced9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,7 +179,7 @@ class Root(CMakePackage):
patch( patch(
"https://github.com/root-project/root/pull/15925.diff?full_index=1", "https://github.com/root-project/root/pull/15925.diff?full_index=1",
sha256="1937290a4d54cd2e3e8a8d23d93b8dedaca9ed8dcfdcfa2f0d16629ff53fb3b7", sha256="1937290a4d54cd2e3e8a8d23d93b8dedaca9ed8dcfdcfa2f0d16629ff53fb3b7",
when="@6.28: +python", when="@6.28:6.32 +python",
) )
# ###################### Variants ########################## # ###################### Variants ##########################
@ -505,6 +505,7 @@ class Root(CMakePackage):
# See https://github.com/root-project/root/issues/11135 # See https://github.com/root-project/root/issues/11135
conflicts("+ipo", msg="LTO is not a supported configuration for building ROOT") conflicts("+ipo", msg="LTO is not a supported configuration for building ROOT")
@when("+root7 +geom +webgui")
def patch(self): def patch(self):
filter_file( filter_file(
r"#include <sstream>", r"#include <sstream>",