Subject: [PATCH] gnu: mit-scheme: Update to 11.2.
From: Xinglu Chen <[email-masked]>
To: [email-masked]
Date: Sun, 01 Aug 2021 16:36:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/scheme.scm (mit-scheme): Update to 11.2.
[native-inputs]: Add ‘texlive-epsf’ to ‘telive-union’, and add ‘ghostscript’.
[inputs]: Add ‘ncurses’.  Replace the URL for i686 with the URL for aarch64.
---
For some reason MIT Scheme doesn’t provide tarballs for i686[1], only
x86_64 and aarch64.

[1]: https://ftp.gnu.org/pub/gnu/mit-scheme/stable.pkg/11.2/

 gnu/packages/scheme.scm | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index fa17b9d566..c43d17219e 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -90,7 +90,7 @@
 (define-public mit-scheme
   (package
     (name "mit-scheme")
-    (version "10.1.3")
+    (version "11.2")
     (source #f)                                   ; see below
     (outputs '("out" "doc"))
     (build-system gnu-build-system)
@@ -177,11 +177,14 @@
        ("autoconf" ,autoconf)
        ("automake" ,automake)
        ("libtool" ,libtool)
-       ("texlive" ,(texlive-union (list texlive-tex-texinfo)))
+       ("texlive" ,(texlive-union (list texlive-tex-texinfo
+                                        texlive-epsf)))
        ("texinfo" ,texinfo)
+       ("ghostscript" ,ghostscript)
        ("m4" ,m4)))
     (inputs
      `(("libx11" ,libx11)
+       ("ncurses" ,ncurses)
 
        ("source"
 
@@ -197,8 +200,8 @@
                               (match (%current-system)
                                 ("x86_64-linux"
                                  (string-append version "-x86-64"))
-                                ("i686-linux"
-                                 (string-append version "-i386"))
+                                ("aarch64-linux"
+                                 (string-append version "-aarch64le"))
                                 (_
                                  (string-append "c-" version)))
                               ".tar.gz"))
@@ -206,10 +209,10 @@
            (match (%current-system)
              ("x86_64-linux"
               (base32
-               "03m7cc035w3avs91j2pcz9f15ssgvgp3rm045d1vbydqrkzfyw8k"))
-             ("i686-linux"
+               "17822hs9y07vcviv2af17p3va7qh79dird49nj50bwi9rz64ia3w"))
+             ("aarch64-linux"
               (base32
-               "05sjyz90xxfnmi87qv8x0yx0fcallnzl1dciygdafp317pn489is"))
+               "11maixldk20wqb5js5p4imq221zz9nf27649v9pqkdf8fv7rnrs9"))
              (_
               (base32
                "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))))))

base-commit: c8bcef2598c9cee91f2f48d78259c53bdaf27a60
-- 
2.32.0