[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: scilab: Fix compilation error.
From: |
guix-commits |
Subject: |
01/02: gnu: scilab: Fix compilation error. |
Date: |
Fri, 18 Aug 2023 14:17:02 -0400 (EDT) |
andreas pushed a commit to branch master
in repository guix.
commit 48648031a5e758796500fbb353c41c2f76397493
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Thu Aug 17 20:15:07 2023 +0200
gnu: scilab: Fix compilation error.
Signed-off-by: Andreas Enge <andreas@enge.fr>
---
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")