summaryrefslogtreecommitdiff
path: root/user/open-vm-tools/dndcp-portability.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-22 16:27:58 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-22 20:06:17 -0500
commitc625abdb5f8b5a58059517c69e6ddebfd6b9710e (patch)
treebbeb335c3c8a351118ffc2838c0cd0bf1d3216d4 /user/open-vm-tools/dndcp-portability.patch
parentb264031d6c87b70151b3c4c93b8d029cf7a903e6 (diff)
downloadpackages-c625abdb5f8b5a58059517c69e6ddebfd6b9710e.tar.gz
packages-c625abdb5f8b5a58059517c69e6ddebfd6b9710e.tar.bz2
packages-c625abdb5f8b5a58059517c69e6ddebfd6b9710e.tar.xz
packages-c625abdb5f8b5a58059517c69e6ddebfd6b9710e.zip
user/open-vm-tools: New package
Diffstat (limited to 'user/open-vm-tools/dndcp-portability.patch')
-rw-r--r--user/open-vm-tools/dndcp-portability.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/open-vm-tools/dndcp-portability.patch b/user/open-vm-tools/dndcp-portability.patch
new file mode 100644
index 000000000..b667cbbce
--- /dev/null
+++ b/user/open-vm-tools/dndcp-portability.patch
@@ -0,0 +1,22 @@
+--- open-vm-tools-12.4.0-23259341/services/plugins/dndcp/dnd/dndLinux.c.old 2024-02-06 09:08:40.000000000 -0600
++++ open-vm-tools-12.4.0-23259341/services/plugins/dndcp/dnd/dndLinux.c 2024-05-22 14:45:57.307885844 -0500
+@@ -53,9 +53,6 @@
+
+ #define DND_ROOTDIR_PERMS (S_IRWXU | S_IRWXG | S_IRWXO)
+ #define DND_STAGINGDIR_PERMS (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
+-#ifdef sun
+-#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
+-#endif
+ #ifdef __ANDROID__
+ /*
+ * Android doesn't support setmntent(), endmntent() or MOUNTED.
+@@ -64,6 +61,9 @@
+ #define NO_ENDMNTENT
+ #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
+ #endif
++#ifndef ACCESSPERMS
++#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
++#endif
+
+
+ /*