Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 796693 Details for
Bug 862795
app-emulation/open-vm-tools-12.0.5_p19716617 fails to compile (MUSL): asyncsocket.c:2846:13: error: invalid use of undefined type struct pollfd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix definition of ALLPERMS and ACCESSPERMS
03_11.2.5-ALLPERMS-ACCESSPERMS.patch (text/plain), 1.98 KB, created by
CFuga
on 2022-08-01 20:31:30 UTC
(
hide
)
Description:
Fix definition of ALLPERMS and ACCESSPERMS
Filename:
MIME Type:
Creator:
CFuga
Created:
2022-08-01 20:31:30 UTC
Size:
1.98 KB
patch
obsolete
>From 81da70dccfd03e6089be9ec509e43e697b8a58b3 Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Wed, 18 Nov 2015 09:10:14 +0000 >Subject: [PATCH] Fix definition of ALLPERMS and ACCESSPERMS > >The ALLPERMS and ACCESSPERMS defines are not specified in POSIX so >assume it is not there instead of testing for specific implementations. > >This is needed for musl libc. > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > open-vm-tools/lib/hgfsServer/hgfsServerLinux.c | 8 +++++--- > open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c | 3 +-- > 2 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c >index 63c4e65f0..87d419a7b 100644 >--- a/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c >+++ b/open-vm-tools/lib/hgfsServer/hgfsServerLinux.c >@@ -105,11 +105,13 @@ typedef struct DirectoryEntry { > #endif > > /* >- * ALLPERMS (mode 07777) and ACCESSPERMS (mode 0777) are not defined in the >- * Solaris version of <sys/stat.h>. >+ * ALLPERMS (mode 07777) and ACCESSPERMS (mode 0777) are not specified in >+ * POSIX. > */ >-#ifdef sun >+#ifndef ACCESSPERMS > # define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) >+#endif >+#ifndef ALLPERMS > # define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) > #endif > >diff --git a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c >index 219065f74..b5b7e6203 100644 >--- a/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c >+++ b/open-vm-tools/services/plugins/dndcp/dnd/dndLinux.c >@@ -53,7 +53,7 @@ > > #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 >+#ifndef ACCESSPERMS > #define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) > #endif > #ifdef __ANDROID__ >@@ -62,7 +62,6 @@ > */ > #define NO_SETMNTENT > #define NO_ENDMNTENT >-#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) > #endif > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 862795
:
796549
|
796687
|
796690
| 796693 |
796696
|
796699
|
796702
|
796705
|
796708
|
796711
|
796714
|
796720