void-packages/srcpkgs/elfutils/patches/musl-accessperms.patch
2015-11-20 09:05:10 +01:00

14 lines
318 B
Diff

--- src/strip.c 2015-10-12 12:22:58.000000000 +0200
+++ 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. */