summaryrefslogtreecommitdiffstats
path: root/testing/emelfm2/02-define_ALLPERMS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/emelfm2/02-define_ALLPERMS.patch')
-rw-r--r--testing/emelfm2/02-define_ALLPERMS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/emelfm2/02-define_ALLPERMS.patch b/testing/emelfm2/02-define_ALLPERMS.patch
new file mode 100644
index 000000000..a5e9e4fdd
--- /dev/null
+++ b/testing/emelfm2/02-define_ALLPERMS.patch
@@ -0,0 +1,13 @@
+--- emelfm2-0.9.1-origin/src/filesystem/e2_fs.h
++++ emelfm2-0.9.1/src/filesystem/e2_fs.h
+@@ -25,6 +25,10 @@
+ #ifndef __E2_FS_H__
+ #define __E2_FS_H__
+
++#ifndef ALLPERMS
++# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
++#endif
++
+ #include "emelfm2.h"
+ #include <unistd.h>
+ #include <dirent.h>