diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2023-08-17 20:15:07 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2023-08-18 18:11:36 +0200 |
commit | 48648031a5e758796500fbb353c41c2f76397493 (patch) | |
tree | f48fe1794d0946fe690b684185d9127f1c7ddf17 /gnu/packages/maths.scm | |
parent | 97b52b2d48b40ecbc711e30eb6f94af3fbc5bd6d (diff) |
gnu: scilab: Fix compilation error.
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 3bbd68d430..d34d52c8d2 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8549,6 +8549,10 @@ computation is supported via MPI.") "__threadSignal InterpReady;" "\n" "__threadSignalLock InterpReadyLock;" "\n"))) + ;; Fix CPP compilation errors. + (substitute* "modules/output_stream/src/cpp/diary_manager.cpp" + (("if \\(array_size > 0\\)") + "if (*array_size > 0)")) ;; Set SCIHOME to /tmp before macros compilation. (setenv "SCIHOME" "/tmp")))))) (home-page "https://scilab.org") |