Apply patch to allow vtk to compile with %gcc 13 and 14. (#44332)
* Apply patch from upstream to allow vtk compilation with %gcc 12 and 14. * Fixes #44331 * fix soec usage * fix compiler version range * Finalize version range, switch to .diff file --------- Co-authored-by: Chrismarsh <Chrismarsh@users.noreply.github.com>
This commit is contained in:
parent
93ccd81d86
commit
90c4f9d463
@ -208,6 +208,14 @@ class Vtk(CMakePackage):
|
||||
when="@9.1",
|
||||
)
|
||||
|
||||
# vtk@9 does not compile with gcc 13 or 14
|
||||
# https://gitlab.kitware.com/vtk/vtk/-/issues/18782
|
||||
patch(
|
||||
"https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9996.diff",
|
||||
sha256="dab51ffd0d62b00c089c1245e6b105f740106b53893305c87193d4ba03a948e0",
|
||||
when="@9.1:9.2 %gcc@13:",
|
||||
)
|
||||
|
||||
@when("@9.2:")
|
||||
def patch(self):
|
||||
# provide definition for Ioss::Init::Initializer::Initializer(),
|
||||
|
Loading…
Reference in New Issue
Block a user