mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cl-linear-programming: Fix build with sbcl 2.5.2.
* gnu/packages/lisp-xyz.scm (sbcl-linear-programming)[arguments]: Add "fix-build" phase. Change-Id: Id0656d1d2efc478f7e3602dc297a5c785a903b89
This commit is contained in:
parent
865f1089c0
commit
334716cf21
1 changed files with 13 additions and 0 deletions
|
@ -19914,6 +19914,19 @@ not counting tests)
|
|||
(build-system asdf-build-system/sbcl)
|
||||
(native-inputs (list sbcl-fiveam))
|
||||
(inputs (list sbcl-alexandria sbcl-iterate))
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build
|
||||
(lambda _
|
||||
;; Modify a type check causing a type conflict warning
|
||||
;; with SBCL 2.5.2.
|
||||
(substitute* "src/simplex.lisp"
|
||||
(("\\(check-type tableau tableau\\)")
|
||||
"(unless (typep tableau 'tableau)
|
||||
(error 'type-error
|
||||
:datum tableau
|
||||
:expected-type 'tableau))")))))))
|
||||
(synopsis "Common Lisp linear programming")
|
||||
(description
|
||||
"This is a Common Lisp library for solving linear programming problems.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue