aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2009-03-26 02:19:46 +0800
committermbr <mbr@FreeBSD.org>2009-03-26 02:19:46 +0800
commitee1577e301e9ced2dbf2c1133f3d325570eaee84 (patch)
tree05cf0a6695824ea08b567d72b37f80ead9c46c19 /emulators
parent3fdd61752b5266d5be74db27007ebf03bd653c27 (diff)
downloadfreebsd-ports-gnome-ee1577e301e9ced2dbf2c1133f3d325570eaee84.tar.gz
freebsd-ports-gnome-ee1577e301e9ced2dbf2c1133f3d325570eaee84.tar.zst
freebsd-ports-gnome-ee1577e301e9ced2dbf2c1133f3d325570eaee84.zip
Add missing patches for X11 build
Diffstat (limited to 'emulators')
-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"