diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-18 14:39:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-18 14:40:52 +0000 |
commit | ef2dec6c3ea0c808bda31401d8db1a429bd7422e (patch) | |
tree | 6dfc3e4e4aff9770a5aba1defd285a19b3e617aa /main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch | |
parent | 276a4314d1785bb036f4dd62f6b22fb32af33b8f (diff) | |
download | aports-ef2dec6c3ea0c808bda31401d8db1a429bd7422e.tar.bz2 aports-ef2dec6c3ea0c808bda31401d8db1a429bd7422e.tar.xz |
main/open-vm-tools: upgrade to 10.0.0_p3000743
Diffstat (limited to 'main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch')
-rw-r--r-- | main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch b/main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch new file mode 100644 index 0000000000..cbcc0531d0 --- /dev/null +++ b/main/open-vm-tools/0008-Use-configure-test-for-sys-stat.h-include.patch @@ -0,0 +1,28 @@ +From 2ae2d54491b5148f0a1a6bc5072bf24f3e28de16 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Wed, 18 Nov 2015 10:41:01 +0000 +Subject: [PATCH 08/11] Use configure test for sys/stat.h include + +This is needed for musl libc. + +Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> +--- + open-vm-tools/services/plugins/vix/vixTools.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c +index 3b19554..17733cb 100644 +--- a/open-vm-tools/services/plugins/vix/vixTools.c ++++ b/open-vm-tools/services/plugins/vix/vixTools.c +@@ -66,7 +66,7 @@ + #include <unistd.h> + #endif + +-#if defined(sun) || defined(__FreeBSD__) || defined(__APPLE__) ++#ifdef HAVE_SYS_STAT_H + #include <sys/stat.h> + #endif + +-- +2.6.3 + |