aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/open-vm-tools
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools')
-rw-r--r--emulators/open-vm-tools/files/patch-appUtil.h11
-rw-r--r--emulators/open-vm-tools/files/patch-appUtilX11.c12
-rw-r--r--emulators/open-vm-tools/files/patch-ghIntegrationX11.c12
3 files changed, 35 insertions, 0 deletions
diff --git a/emulators/open-vm-tools/files/patch-appUtil.h b/emulators/open-vm-tools/files/patch-appUtil.h
new file mode 100644
index 000000000000..5b272264ec21
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-appUtil.h
@@ -0,0 +1,11 @@
+--- lib/include/appUtil.h.orig 2009-03-24 19:24:50.000000000 +0900
++++ lib/include/appUtil.h 2009-03-24 19:24:20.000000000 +0900
+@@ -69,7 +69,7 @@
+
+ #endif //_WIN32
+
+-#if defined(linux)
++#if defined(linux) || defined(__FreeBSD__)
+ #include <glib.h>
+
+ void AppUtil_Init(void);
diff --git a/emulators/open-vm-tools/files/patch-appUtilX11.c b/emulators/open-vm-tools/files/patch-appUtilX11.c
new file mode 100644
index 000000000000..2757fb6bd712
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-appUtilX11.c
@@ -0,0 +1,12 @@
+--- ./lib/appUtil/appUtilX11.c.orig 2009-02-18 17:02:41.000000000 +0900
++++ ./lib/appUtil/appUtilX11.c 2009-03-24 18:54:18.000000000 +0900
+@@ -26,6 +26,9 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#if defined(__FreeBSD__)
++#include <libgen.h>
++#endif
+
+ #include "vmware.h"
+ #include "str.h"
diff --git a/emulators/open-vm-tools/files/patch-ghIntegrationX11.c b/emulators/open-vm-tools/files/patch-ghIntegrationX11.c
new file mode 100644
index 000000000000..31b61101857f
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-ghIntegrationX11.c
@@ -0,0 +1,12 @@
+--- lib/ghIntegration/ghIntegrationX11.c.orig 2009-02-18 17:02:42.000000000 +0900
++++ lib/ghIntegration/ghIntegrationX11.c 2009-03-24 19:18:47.000000000 +0900
+@@ -62,7 +62,9 @@
+ #include "imageUtil.h"
+ #include "strutil.h"
+ #include <paths.h>
++#if defined(linux)
+ #include <mntent.h>
++#endif
+ #include "vm_atomic.h"
+ #include "ghIntegration.h"
+ #include "ghIntegrationInt.h"