diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-19 12:36:10 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-19 12:47:22 +0200 |
| commit | 0ba01dd04f77c3696413dc71d58eea8464c06f5f (patch) | |
| tree | 5e28e1de9af14051950c79d418d6b84e347791c8 | |
| parent | f2e4c9d4b078fd35f883209db02a15c5cf9c5225 (diff) | |
gnu: scilab: Fix build with gcc@14.
* gnu/packages/maths.scm (scilab)[arguments]<#:phases>: Add phase
'fix-call-scilab-examples phase to fix build with gcc@14.
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/maths.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f7adca7c03..5c9574ae1d 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -10898,6 +10898,13 @@ computation is supported via MPI.") "modules/scicos/src/translator/makefile.mak" "modules/scicos/src/modelica_compiler/makefile.mak") (("nums\\.cmx?a") "")))) + ;; See https://gitlab.com/scilab/scilab/-/issues/17462 + (add-after 'unpack 'fix-call-scilab-examples + (lambda _ + (substitute* + (find-files "modules/call_scilab/examples" "\\.c$") + (("StartScilab\\((.*), NULL\\)" all args) + (string-append "StartScilab(" args ", 0)"))))) (add-after 'unpack 'fix-linking (lambda _ (substitute* "modules/Makefile.am" |
