aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2023-08-17 20:15:07 +0200
committerAndreas Enge <andreas@enge.fr>2023-08-18 18:11:36 +0200
commit48648031a5e758796500fbb353c41c2f76397493 (patch)
treef48fe1794d0946fe690b684185d9127f1c7ddf17
parent97b52b2d48b40ecbc711e30eb6f94af3fbc5bd6d (diff)
downloadguix-48648031a5e758796500fbb353c41c2f76397493.tar.gz
guix-48648031a5e758796500fbb353c41c2f76397493.zip
gnu: scilab: Fix compilation error.
Signed-off-by: Andreas Enge <andreas@enge.fr>
-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")