diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2024-10-31 11:02:02 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2024-11-19 15:00:54 +0100 |
commit | 82a0eddcaaf48c7d070b46812252b8823db99e56 (patch) | |
tree | 402f000c7b5bc7f37b559bb03898b500255a93ab | |
parent | 1d72d47646c6a8f658dfc3b505804b14e1a3902e (diff) |
gnu: cl-polymorphic-functions: Update to 0.5.2.lisp-team
* gnu/packages/lisp-xyz.scm (sbcl-polymorphic-functions): Update to 0.5.2.
[arguments]: Add 'fix-build' phase.
Change-Id: Ic67ae27c7171127d93340c4c78c64fe71940f802
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 6a40cbed8e..ebc266e31e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -24321,7 +24321,7 @@ that should happen depending on compiler policy.") (define-public sbcl-polymorphic-functions (package (name "sbcl-polymorphic-functions") - (version "0.2.1") + (version "0.5.2") (source (origin (method git-fetch) @@ -24330,20 +24330,29 @@ that should happen depending on compiler policy.") (commit (string-append "v" version)))) (file-name (git-file-name "cl-polymorphic-functions" version)) (sha256 - (base32 "161ylp3avmkylgfddp7i1kscv3bqx734jk1i97xhsbl7x83nin0h")))) + (base32 "1bawhbj5rh1q6qrcjnx48n78841mgri5n63pmicxxyhif2il0zq3")))) (build-system asdf-build-system/sbcl) (inputs (list sbcl-alexandria + sbcl-cl-form-types sbcl-closer-mop sbcl-compiler-macro-notes sbcl-ctype sbcl-fiveam - sbcl-cl-form-types sbcl-introspect-environment sbcl-slime-swank)) (arguments ;; Tests fail: https://github.com/digikar99/polymorphic-functions/issues/8 - '(#:tests? #f)) + (list #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-build + (lambda _ + ;; SBCL 2.4.10 doesn't allow user code to + ;; rebind *IN-COMPILATION-UNIT*. + (substitute* "src/nonlite/dispatch.lisp" + (("#\\+sbcl \\(sb-c::\\*in-compilation-unit\\* nil\\)") + ""))))))) (home-page "https://github.com/digikar99/polymorphic-functions/") (synopsis "Function type to dispatch on types instead of classes") (description |