aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/maths.scm4
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")