[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/51: gnu: grep: Fix build for the 64bit Hurd.
From: |
guix-commits |
Subject: |
08/51: gnu: grep: Fix build for the 64bit Hurd. |
Date: |
Mon, 18 Nov 2024 18:13:20 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 33e729f2ea5e62c16279d6ce1b9bb2a1f3ddeb6e
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 4 08:12:45 2024 +0100
gnu: grep: Fix build for the 64bit Hurd.
* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd,
add patch-sigsegv.h stage.
Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
---
gnu/packages/base.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 02ef71f20d..010be631d7 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -154,6 +154,13 @@ command-line arguments, multiple languages, and so on.")
(string-append bin "/fgrep"))
(("^exec grep")
(string-append "exec " bin "/grep"))))))
+ #$@(if (target-hurd64?)
+ #~((add-after 'unpack 'patch-sigsegv
+ (lambda _
+ ;; Stack overflow recovery does not compile
+ (substitute* "lib/sigsegv.in.h"
+ (("__GNU__") "__XGNU__")))))
+ #~())
#$@(if (system-hurd?)
#~((add-before 'check 'skip-test
(lambda _
- 26/51: system: image: Add hurd64 image types., (continued)
- 26/51: system: image: Add hurd64 image types., guix-commits, 2024/11/18
- 28/51: gnu: openssl-3.0: Support the 64bit Hurd., guix-commits, 2024/11/18
- 30/51: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/18
- 19/51: gnu: hurd: Fix build with gcc-14., guix-commits, 2024/11/18
- 18/51: gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18
- 20/51: gnu: netdde: Fix build with gcc-14., guix-commits, 2024/11/18
- 35/51: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/18
- 36/51: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 37/51: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 50/51: system: examples: Add devel-hurd64.tmpl., guix-commits, 2024/11/18
- 08/51: gnu: grep: Fix build for the 64bit Hurd.,
guix-commits <=
- 31/51: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/18
- 42/51: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/18
- 12/51: gnu: glibc/hurd: Add patches for the 64bit Hurd., guix-commits, 2024/11/18
- 43/51: gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0., guix-commits, 2024/11/18
- 27/51: gnu: libgpg-error: Support the 64bit Hurd., guix-commits, 2024/11/18
- 41/51: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/18
- 47/51: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., guix-commits, 2024/11/18
- 40/51: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714., guix-commits, 2024/11/18
- 49/51: system: examples: Add bare-hurd64.tmpl., guix-commits, 2024/11/18