aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/emelfm2/02-define_ALLPERMS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/emelfm2/02-define_ALLPERMS.patch')
-rw-r--r--unmaintained/emelfm2/02-define_ALLPERMS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/unmaintained/emelfm2/02-define_ALLPERMS.patch b/unmaintained/emelfm2/02-define_ALLPERMS.patch
new file mode 100644
index 0000000000..a5e9e4fdde
--- /dev/null
+++ b/unmaintained/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>