diff --git a/srcpkgs/rkt/patches/musl-accessperms.patch b/srcpkgs/rkt/patches/musl-accessperms.patch new file mode 100644 index 00000000000..a7a04475429 --- /dev/null +++ b/srcpkgs/rkt/patches/musl-accessperms.patch @@ -0,0 +1,13 @@ +--- rkt-1.25.0/stage1/prepare-app/prepare-app.c 2017-02-20 11:16:05.000000000 +0100 ++++ rkt-1.25.0/stage1/prepare-app/prepare-app.c 2017-03-06 00:55:19.536542504 +0100 +@@ -27,6 +27,10 @@ + #include + #include + ++#if !defined(ACCESSPERMS) ++#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */ ++#endif ++ + #define err_out(_fmt, _args...) \ + fprintf(stderr, "Error: " _fmt "\n", ##_args); + static int exit_err;