mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile: Fix 'posix_spawn' usage for GNU/Hurd.
* gnu/packages/guile.scm (guile-3.0)[arguments]: Add 'patch-posix-spawn-usage' phase. * gnu/packages/patches/guile-hurd-posix-spawn.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
parent
0b2d1fd410
commit
14cd517e0c
3 changed files with 55 additions and 0 deletions
|
@ -371,6 +371,16 @@ without requiring the source code to be rewritten.")
|
|||
(("!#")
|
||||
"!#\n(exit 77)\n"))))
|
||||
|
||||
#$@(if (target-hurd?)
|
||||
#~((add-before 'build 'patch-posix-spawn-usage
|
||||
(lambda _
|
||||
;; TODO: Move patch to 'source' on next rebuild
|
||||
;; cycle.
|
||||
(define patch
|
||||
#$(local-file
|
||||
(search-patch "guile-hurd-posix-spawn.patch")))
|
||||
(invoke "patch" "--force" "-p1" "-i" patch))))
|
||||
#~())
|
||||
#$@(if (target-ppc32?)
|
||||
#~((add-after 'unpack 'adjust-bootstrap-flags
|
||||
(lambda _
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue