aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2009-04-14 15:32:46 +0800
committermbr <mbr@FreeBSD.org>2009-04-14 15:32:46 +0800
commit279c236c2e3ff8ba153b90d634ddd6581c7f1052 (patch)
tree61ea03cdcedba3a0d3031baf65e4ec753dbe33b7 /emulators
parent48e62c7335b5bfeb7ff54f84cf80cda0efbceb1c (diff)
downloadfreebsd-ports-gnome-279c236c2e3ff8ba153b90d634ddd6581c7f1052.tar.gz
freebsd-ports-gnome-279c236c2e3ff8ba153b90d634ddd6581c7f1052.tar.zst
freebsd-ports-gnome-279c236c2e3ff8ba153b90d634ddd6581c7f1052.zip
Fix shutdown problems with ESX 3.5
PR: ports/133717 Approved by: portsmgr Submitted by: Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
Diffstat (limited to 'emulators')
-rw-r--r--emulators/open-vm-tools/Makefile2
-rw-r--r--emulators/open-vm-tools/files/patch-util_misc.c20
2 files changed, 21 insertions, 1 deletions
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index a1618e17a42f..f30970b4c28d 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -7,7 +7,7 @@
PORTNAME= open-vm-tools
PORTVERSION= ${BUILD_VER}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators kld
MASTER_SITES= SF
DISTNAME= open-vm-tools-${RELEASE_DATE}-${BUILD_VER}
diff --git a/emulators/open-vm-tools/files/patch-util_misc.c b/emulators/open-vm-tools/files/patch-util_misc.c
new file mode 100644
index 000000000000..287b9451f94e
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-util_misc.c
@@ -0,0 +1,20 @@
+--- lib/misc/util_misc.c.orig 2009-04-14 02:38:09.000000000 +0200
++++ lib/misc/util_misc.c 2009-04-14 02:39:00.000000000 +0200
+@@ -289,7 +289,7 @@
+ return (strcmp(path1, path2) == 0);
+ #elif defined(_WIN32)
+ return (_stricmp(path1, path2) == 0);
+-#elif defined(__APPLE__)
++#elif defined(__APPLE__) || defined(__FreeBSD__)
+ return (strcasecmp(path1, path2) == 0);
+ #else
+ NOT_IMPLEMENTED();
+@@ -316,7 +316,7 @@
+ Bool
+ Util_IsAbsolutePath(const char *path) // IN: path to check
+ {
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
+ // path[0] is valid even for the empty string.
+ return path && path[0] == DIRSEPC;
+ #elif defined(_WIN32)