mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 20:30:05 -05:00
gnu: scilab: Fix compilation error.
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
97b52b2d48
commit
48648031a5
1 changed files with 4 additions and 0 deletions
|
@ -8549,6 +8549,10 @@ (define-public scilab
|
|||
"__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")
|
||||
|
|
Loading…
Reference in a new issue