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
This commit is contained in:
Guillaume Le Vaillant 2025-03-24 14:57:00 +01:00
parent d2d1dcd1dd
commit f7a94b383f
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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