diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-04 08:12:45 +0100 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-03 08:33:12 +0100 |
commit | 6fa9d0b1771026661b5135dd58033e38787e1273 (patch) | |
tree | 84e3ed5abb70f00c469d4bae89689665983cb73b /gnu/packages/base.scm | |
parent | 43ba6d2a0d9f8a697c6d70c6ab7ae3ee18a31552 (diff) | |
download | guix-6fa9d0b1771026661b5135dd58033e38787e1273.tar.gz guix-6fa9d0b1771026661b5135dd58033e38787e1273.zip |
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
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 7 |
1 files changed, 7 insertions, 0 deletions
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 _ |