From 3e90b6d9dd52dcb7ca39c47cdd28484d02f07d80 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 21 Feb 2021 21:35:22 +0000 Subject: gnu: mozjs-78: Update to 78.6.1. This minor version is convinient for packaging 0ad. * gnu/packages/gnuzilla.scm (mozjs-78): Update to 78.6.1. --- gnu/packages/gnuzilla.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 7f33019606..27551ac781 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -417,7 +417,7 @@ (define-public mozjs-60 (define-public mozjs-78 (package (inherit mozjs-60) - (version "78.5.0") + (version "78.6.1") (source (origin (method url-fetch) ;; TODO: Switch to IceCat source once available on ftp.gnu.org. @@ -426,7 +426,7 @@ (define-public mozjs-78 version "esr.source.tar.xz")) (sha256 (base32 - "1442yjmwz69hkfcvh8kkb60jf4c9ms0pac04nc3xw2da13v4zxai")))) + "1kp75838a38x4h0w98qn01g9asn7jlgm64bz7n70353bnr6bf1qd")))) (arguments `(#:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums' #:modules ((guix build cargo-utils) @@ -453,6 +453,12 @@ (define-public mozjs-78 "--with-intl-api") #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-StructuredClone.h + (lambda _ + (substitute* "js/public/StructuredClone.h" + (("class SharedArrayRawBufferRefs \\{") + "class JS_PUBLIC_API SharedArrayRawBufferRefs {")) + #t)) (add-after 'patch-source-shebangs 'patch-cargo-checksums (lambda _ (let ((null-hash -- cgit v1.2.3