Add patch vfile_cassert.patch for ecflow@5.11.4 (#46095)

This commit is contained in:
Dom Heinzeller 2024-09-07 07:54:43 -06:00 committed by GitHub
parent 5f9c6299d1
commit 32727087f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class Ecflow(CMakePackage):
# https://github.com/JCSDA/spack-stack/issues/1001
# https://github.com/JCSDA/spack-stack/issues/1009
patch("ctsapi_cassert.patch", when="@5.11.4")
patch("vfile_cassert.patch", when="@5.11.4")
@when("@:4.13.0")
def patch(self):

View File

@ -0,0 +1,10 @@
--- a/Viewer/ecflowUI/src/VFile.cpp 2024-08-28 12:20:27.000000000 +0000
+++ b/Viewer/ecflowUI/src/VFile.cpp 2024-08-28 12:20:51.000000000 +0000
@@ -9,6 +9,7 @@
#include "VFile.hpp"
+#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>