aboutsummaryrefslogtreecommitdiffstats
path: root/main/elfutils/musl-accessperms.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/elfutils/musl-accessperms.patch')
-rw-r--r--main/elfutils/musl-accessperms.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/elfutils/musl-accessperms.patch b/main/elfutils/musl-accessperms.patch
new file mode 100644
index 0000000000..0c7d2fa25d
--- /dev/null
+++ b/main/elfutils/musl-accessperms.patch
@@ -0,0 +1,13 @@
+--- a/src/strip.c 2015-10-12 12:22:58.000000000 +0200
++++ b/src/strip.c 2015-11-20 07:44:13.626287111 +0100
+@@ -44,6 +44,10 @@
+ #include <libebl.h>
+ #include <system.h>
+
++#if !defined(ACCESSPERMS)
++#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
++#endif
++
+ typedef uint8_t GElf_Byte;
+
+ /* Name and version of program. */