mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: propeller-load: Patch to include header file.
* gnu/packages/embedded.scm (propeller-load)[arguments]: Add phase 'patch-for-readlink. Change-Id: Iac1645fdfb6174d8af51eb32027b366e925345f9
This commit is contained in:
@@ -1316,6 +1316,13 @@ code.")
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _ (chdir "loader")))
|
||||
(add-after 'chdir 'patch-for-readlink
|
||||
(lambda _
|
||||
(substitute* "src/system.c"
|
||||
(("#include <stdio.h>")
|
||||
"\
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>"))))
|
||||
(delete 'configure))))
|
||||
(native-inputs
|
||||
(list openspin (make-propeller-toolchain)))
|
||||
|
||||
Reference in New Issue
Block a user