Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 796687 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]
Do not assume that linux and gnu libc are the same thing
01_11.2.5-not-glibc.patch (text/plain), 1.06 KB, created by
CFuga
on 2022-08-01 20:30:11 UTC
(
hide
)
Description:
Do not assume that linux and gnu libc are the same thing
Filename:
MIME Type:
Creator:
CFuga
Created:
2022-08-01 20:30:11 UTC
Size:
1.06 KB
patch
obsolete
>From 3d6dad8c9202f449bbdff90da5463c1994198883 Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Tue, 17 Nov 2015 10:39:01 +0000 >Subject: [PATCH] Do not assume that linux and gnu libc are the same thing > >Use __GLIBC__ when testing for GNU libc specific things instead of >assuming that __linux__ is GNU libc. > >This is needed for building with musl libc. > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > open-vm-tools/lib/file/fileIOPosix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/open-vm-tools/lib/file/fileIOPosix.c b/open-vm-tools/lib/file/fileIOPosix.c >index 82c0aa18e..47dc41379 100644 >--- a/open-vm-tools/lib/file/fileIOPosix.c >+++ b/open-vm-tools/lib/file/fileIOPosix.c >@@ -198,7 +198,7 @@ static AlignedPool alignedPool; > * are not available in any header file. > */ > >-#if defined(__linux__) && !defined(__ANDROID__) >+#if defined(__linux__) && defined(__GLIBC__) > #if defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64) > /* > * We want preadv/pwritev. But due to FOB=64, the symbols are -64.
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