From 48648031a5e758796500fbb353c41c2f76397493 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 17 Aug 2023 20:15:07 +0200 Subject: gnu: scilab: Fix compilation error. Signed-off-by: Andreas Enge --- gnu/packages/maths.scm | 4 ++++ 1 file changed, 4 insertions(+) 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") -- cgit v1.2.3