1
0
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:
Ricardo Wurmus
2026-03-02 20:29:45 +01:00
parent 129ff35366
commit ea3532393a

View File

@@ -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)))