glv pushed a commit to branch master
in repository guix.

commit f7a94b383f47af3f847ee1783548193579bb75c5
Author: Guillaume Le Vaillant <[email protected]>
AuthorDate: Mon Mar 24 14:57:00 2025 +0100

    gnu: cl-langutils: Fix build with sbcl 2.5.2.
    
    * gnu/packages/lisp-xyz.scm (sbcl-langutils)[arguments]: Add 'fix-build'
      phase.
    
    Change-Id: Ie41f9a9361b480176edfef4292addb17df6aeeb1
---
 gnu/packages/lisp-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9cbab8fbf5..181263e809 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19590,10 +19590,20 @@ language name mapping.")
          (sha256
           (base32 "15y9x5wkg3fqndc04w2sc650fnwimxp4gjgpv9xvvdm9x4v433x6"))))
       (build-system asdf-build-system/sbcl)
-      (arguments '(#:tests? #f)) ; There are no tests.
       (inputs
         (list sbcl-stdutils
               sbcl-s-xml-rpc))
+      (arguments
+       (list #:tests? #f ; There are no tests.
+             #:phases
+             #~(modify-phases %standard-phases
+                 (add-after 'unpack 'fix-build
+                   (lambda _
+                     ;; Remove a declaration causing a type conflict with
+                     ;; recent versions of SBCL.
+                     (substitute* "src/my-meta.lisp"
+                       (("\\(type simple-base-string ,source-symbol\\)")
+                        "")))))))
       (home-page "https://langutils.common-lisp.dev/";)
       (synopsis "Common Lisp natural language processing toolkit")
       (description

Reply via email to