pkgsrc/sysutils/open-vm-tools/patches/patch-ad
scottr 8e053ee7cb Update to version 2008.08.08-109361. This release provides the following
enhancements:

 - Simple command-line tools to interface with VMware host
 - Guest OS scripts that can be triggered by the VMware host
 - Startup script

When compiled with X11 support (the default), this release also provides:

 - GTK+-based GUI to configure time sync, device connections, and scripts
 - Helper application to interface with the xf86-video-vmware driver,
   enabling dynamic screen resize
2008-08-31 06:36:47 +00:00

13 lines
505 B
Text

$NetBSD: patch-ad,v 1.2 2008/08/31 06:36:47 scottr Exp $
--- guestd/foreignVMToolsDaemon.h.orig 2008-08-08 02:01:56.000000000 -0500
+++ guestd/foreignVMToolsDaemon.h
@@ -59,7 +59,7 @@ VixError VIX_INIT_LOCK(VixLockType *lock
#ifdef __APPLE__
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
-#elif defined(__FreeBSD__) || defined(sun)
+#elif defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
#include <unistd.h>
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#else