[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/58: gnu: grep: Fix build for the 64bit Hurd.
From: |
guix-commits |
Subject: |
08/58: gnu: grep: Fix build for the 64bit Hurd. |
Date: |
Sun, 24 Nov 2024 02:50:34 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 28e3737472cbdbe6cd9d3771706568ee62fc0501
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 _
- branch hurd-team created (now b51632cfa4), guix-commits, 2024/11/24
- 01/58: gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/24
- 11/58: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/24
- 10/58: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/24
- 03/58: gnu: hurd: Update to 0.9.git20240714., guix-commits, 2024/11/24
- 06/58: gnu: bash-minimal: Support [cross-]build with gcc-14., guix-commits, 2024/11/24
- 07/58: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/24
- 08/58: gnu: grep: Fix build for the 64bit Hurd.,
guix-commits <=
- 09/58: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 04/58: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/24
- 23/58: gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/24
- 39/58: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 41/58: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/24
- 44/58: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/24
- 47/58: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/24
- 50/58: system: examples: Add bare-hurd64.tmpl., guix-commits, 2024/11/24
- 58/58: gnu: commencement: gcc-final: Support the 64bit Hurd., guix-commits, 2024/11/24
- 26/58: gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise"., guix-commits, 2024/11/24