Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 796690 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]
Use configure test for struct timespec
02_11.2.5-struct-timespec.patch (text/plain), 1.51 KB, created by
CFuga
on 2022-08-01 20:30:50 UTC
(
hide
)
Description:
Use configure test for struct timespec
Filename:
MIME Type:
Creator:
CFuga
Created:
2022-08-01 20:30:50 UTC
Size:
1.51 KB
patch
obsolete
>From f587e80663afed5d189f2dd185dea7e4b2bbb105 Mon Sep 17 00:00:00 2001 >From: Natanael Copa <ncopa@alpinelinux.org> >Date: Wed, 18 Nov 2015 09:03:00 +0000 >Subject: [PATCH] Use configure test for struct timespec > >Use the configure script to test for struct time spec instead of trying >to keep track of what platforms has it. > >Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> >--- > open-vm-tools/configure.ac | 1 + > open-vm-tools/lib/include/hgfsUtil.h | 8 +------- > 2 files changed, 2 insertions(+), 7 deletions(-) > >diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac >index 6c94649a4..dd7badc3c 100644 >--- a/open-vm-tools/configure.ac >+++ b/open-vm-tools/configure.ac >@@ -1212,6 +1212,7 @@ AC_TYPE_OFF_T > AC_TYPE_PID_T > AC_TYPE_SIZE_T > AC_CHECK_MEMBERS([struct stat.st_rdev]) >+AC_CHECK_MEMBERS([struct timespec.tv_sec],[],[],[[#include <time.h>]]) > AC_HEADER_TIME > AC_STRUCT_TM > AC_C_VOLATILE >diff --git a/open-vm-tools/lib/include/hgfsUtil.h b/open-vm-tools/lib/include/hgfsUtil.h >index 609f4c000..a3a022d42 100644 >--- a/open-vm-tools/lib/include/hgfsUtil.h >+++ b/open-vm-tools/lib/include/hgfsUtil.h >@@ -53,13 +53,7 @@ > # include <time.h> > # endif > # include "vm_basic_types.h" >-# if !defined _STRUCT_TIMESPEC && \ >- !defined _TIMESPEC_DECLARED && \ >- !defined __timespec_defined && \ >- !defined sun && \ >- !defined __FreeBSD__ && \ >- !__APPLE__ && \ >- !defined _WIN32 >+# if !defined HAVE_STRUCT_TIMESPEC_TV_SEC > struct timespec { > time_t tv_sec; > long tv_nsec;
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