diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2026-03-02 20:29:45 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2026-03-04 09:52:22 +0100 |
| commit | ea3532393ab8403249bb00041bb11048eccd0a67 (patch) | |
| tree | a4eb1ec1c29a6425eaeabd35707b377d99983d34 /gnu/packages/embedded.scm | |
| parent | 129ff35366c866f0bf60cd2a291ce352bc5e936f (diff) | |
gnu: propeller-load: Patch to include header file.
* gnu/packages/embedded.scm (propeller-load)[arguments]: Add phase
'patch-for-readlink.
Change-Id: Iac1645fdfb6174d8af51eb32027b366e925345f9
Diffstat (limited to 'gnu/packages/embedded.scm')
| -rw-r--r-- | gnu/packages/embedded.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 3ec68e78d03..ba9dc4de6f0 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -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))) |
