[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/05: gnu: guile: Update to 3.0.7.
From: |
guix-commits |
Subject: |
02/05: gnu: guile: Update to 3.0.7. |
Date: |
Wed, 12 May 2021 18:20:33 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 47d48f0c43c13c0b43bc3e37b6239efd4bf2f74c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 12 23:34:44 2021 +0200
gnu: guile: Update to 3.0.7.
* gnu/packages/guile.scm (guile-3.0-latest): Update to 3.0.7. Remove
"guile-2.2-skip-so-test.patch".
[propagated-inputs, arguments]: New fields.
---
gnu/packages/guile.scm | 36 +++++++++++++++++++++++-------------
1 file changed, 23 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 88a0e52..91fcf46 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -311,19 +311,29 @@ without requiring the source code to be rewritten.")
(define-public guile-3.0-latest
;; TODO: Make this 'guile-3.0' on the next rebuild cycle.
- (package-with-extra-patches
- (package
- (inherit guile-3.0)
- (version "3.0.5")
- (source (origin
- (inherit (package-source guile-3.0))
- (uri (string-append "mirror://gnu/guile/guile-"
- version ".tar.xz"))
- (sha256
- (base32
- "1wah6fq1h8vmbpdadjych1mq8hyqkd7p015cbxm14ri37l1gnxid")))))
- ;; Remove on the next rebuild cycle.
- (search-patches "guile-2.2-skip-so-test.patch")))
+ (package
+ (inherit guile-3.0)
+ (version "3.0.7")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/guile/guile-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1dwiwsrpm4f96alfnz6wibq378242z4f16vsxgy1n9r00v3qczgm"))))
+
+ ;; Build with the bundled mini-GMP to avoid interference with GnuTLS' own
+ ;; use of GMP via Nettle: <https://issues.guix.gnu.org/46330>. Use
+ ;; LIBGC/DISABLE-MUNMAP to work around <https://bugs.gnu.org/40525>.
+ ;; Remove libltdl, which is no longer used.
+ (propagated-inputs
+ `(("bdw-gc" ,libgc/disable-munmap)
+ ,@(srfi-1:fold srfi-1:alist-delete (package-propagated-inputs guile-3.0)
+ '("gmp" "libltdl" "bdw-gc"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments guile-3.0)
+ ((#:configure-flags flags ''())
+ `(cons "--enable-mini-gmp" ,flags))))))
(define-public guile-3.0/libgc-7
;; Using libgc-7 avoid crashes that can occur, particularly when loading