aboutsummaryrefslogtreecommitdiffstats
path: root/main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-01-02 15:32:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-01-02 15:32:49 +0000
commitf6a385f8b07c6b6c16fc026dffa0b29d097b785d (patch)
treec75c172975f5a36407386c4e6575f5d15792e4a6 /main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch
parentfdccff09e3ed4ded732b2d22d5d571642ad268bc (diff)
downloadaports-f6a385f8b07c6b6c16fc026dffa0b29d097b785d.tar.bz2
aports-f6a385f8b07c6b6c16fc026dffa0b29d097b785d.tar.xz
main/open-vm-tools: upgrade to 10.1.0 and enable -dbg
Diffstat (limited to 'main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch')
-rw-r--r--main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch b/main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch
deleted file mode 100644
index 5aca7d4764..0000000000
--- a/main/open-vm-tools/0004-Use-configure-test-for-struct-timespec.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From eed7a9d80283b8bfd6ed334f86e186ea2b1c26a5 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Wed, 18 Nov 2015 09:03:00 +0000
-Subject: [PATCH 04/11] 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 810555c..037679d 100644
---- a/open-vm-tools/configure.ac
-+++ b/open-vm-tools/configure.ac
-@@ -925,6 +925,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 8dddb4d..e53b0aa 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;
---
-2.6.3
-