Skip to content

Commit

Permalink
Merge pull request #469 from climbfuji/bugfix/ecflow_cassert_vfile
Browse files Browse the repository at this point in the history
Add patch vfile_cassert.patch for [email protected]
  • Loading branch information
climbfuji committed Aug 28, 2024
2 parents d8de455 + 7e8e047 commit 33eea04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions var/spack/repos/builtin/packages/ecflow/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,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):
Expand Down
10 changes: 10 additions & 0 deletions var/spack/repos/builtin/packages/ecflow/vfile_cassert.patch
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 33eea04

Please sign in to comment.