gnu: sbcl: Fix build on aarch64.

sbcl 2.2.10 currently doesn't build on aarch64.  Upstream has fixed the
issue (https://bugs.launchpad.net/sbcl/+bug/1996942), but this patch is
needed until the next release.

* gnu/packages/patches/sbcl-fix-build-on-arm64-with-clisp-as-host.patch: New
  file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/lisp.scm (sbcl)[source]: Use it.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Andrew Patterson 2022-11-17 21:53:01 -05:00 committed by Guillaume Le Vaillant
parent 854bdb7ba9
commit cc08d374b2
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F
3 changed files with 31 additions and 0 deletions

View file

@ -429,6 +429,9 @@ an interpreter, a compiler, a debugger, and much more.")
(method url-fetch)
(uri (string-append "mirror://sourceforge/sbcl/sbcl/" version "/sbcl-"
version "-source.tar.bz2"))
(patches
;; TODO: remove this patch when updating to sbcl > 2.2.10.
(search-patches "sbcl-fix-build-on-arm64-with-clisp-as-host.patch"))
(sha256
(base32 "0cq8x4svkawirxq5s5gs4qxkl23m4q5p722a2kpss8qjfslc7hwc"))))
(build-system gnu-build-system)