me
/
guix
Archived
1
0
Fork 0

gnu: scilab: Fix compilation error.

Signed-off-by: Andreas Enge <andreas@enge.fr>
Nicolas Graves 2023-08-17 20:15:07 +02:00 committed by Andreas Enge
parent 97b52b2d48
commit 48648031a5
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 4 additions and 0 deletions

View File

@ -8549,6 +8549,10 @@ computation is supported via MPI.")
"__threadSignal InterpReady;" "\n" "__threadSignal InterpReady;" "\n"
"__threadSignalLock InterpReadyLock;" "__threadSignalLock InterpReadyLock;"
"\n"))) "\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. ;; Set SCIHOME to /tmp before macros compilation.
(setenv "SCIHOME" "/tmp")))))) (setenv "SCIHOME" "/tmp"))))))
(home-page "https://scilab.org") (home-page "https://scilab.org")