guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/84: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git202212


From: guix-commits
Subject: 32/84: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224.
Date: Wed, 14 Jun 2023 06:23:57 -0400 (EDT)

janneke pushed a commit to branch wip-hurd
in repository guix.

commit 2e895c600636ced9cc895c3bfae3da8d0fc4de79
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon May 29 21:25:05 2023 +0200

    gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224.
    
    * gnu/packages/commencement.scm (gnumach-headers-boot0)[name]: New field; 
give
    proper name.
    [source]: Update to 1.8+git20221224.
    [native-inputs]: Add autoconf-boot0, automake-boot0, texinfo-boot0.
    [arguments]: Add 'patch-compat' phase to allow building hurd-minimal etc, 
with
    our out-of-date bootstsrap binaries.
---
 gnu/packages/commencement.scm | 38 ++++++++++++++++++++++++++------------
 1 file changed, 26 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ed79badde8..16dfcd846a 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2629,18 +2629,32 @@ memoized as a function of '%current-system'."
   (with-boot0
    (package
      (inherit gnumach-headers)
-     (version "1.8-116-g28b53508")
-     (source (bootstrap-origin
-              (origin
-                (method url-fetch)
-                (uri (list (string-append "mirror://gnu/guix/mirror/gnumach-"
-                                          version ".tar.gz")
-                           (string-append "https://lilypond.org/janneke/hurd/";
-                                          "gnumach-" version ".tar.gz")))
-                (sha256
-                 (base32
-                  "006i0zgwy81vxarpfm12vip4q6i5mgmi5mmy5ldvxp5hx9h3l0zg")))))
-     (native-inputs '()))))
+     (name "gnumach-headers-boot0")
+     (version "1.8+git20221224")
+     (source
+      (origin
+        (method url-fetch)
+        (uri
+         (string-append
+          
"https://git.savannah.gnu.org/cgit/hurd/gnumach.git/snapshot/gnumach-";
+          version ".tar.gz"))
+        (sha256
+         (base32
+          "0vb19ynvrxz302snqxkd0wgizwa5fw2x06a4zjsllqb9ijbq9mc8"))))
+     (native-inputs (list autoconf-boot0 automake-boot0 texinfo-boot0))
+     (arguments
+      (substitute-keyword-arguments (package-arguments gnumach-headers)
+        ((#:phases phases)
+         #~(modify-phases #$phases
+             (add-after 'unpack 'patch-compat
+               (lambda _
+                 (substitute* '("include/device/device_types.h"
+                                "include/mach_debug/slab_info.h"
+                                "include/mach_debug/vm_info.h")
+                   (("rpc_vm_size_t") "unsigned int")
+                   (("rpc_vm_offset_t") "unsigned int")
+                   (("rpc_long_natural_t") "unsigned long")
+                   (("long_natural_t") "unsigned long")))))))))))
 
 (define mig-boot0
   (let* ((mig (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]