pkgsrc/sysutils/open-vm-tools/patches/patch-av
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

22 lines
804 B
Text

$NetBSD: patch-av,v 1.2 2008/08/31 06:36:48 scottr Exp $
--- lib/include/util.h.orig 2008-08-08 02:01:52.000000000 -0500
+++ lib/include/util.h
@@ -55,7 +55,7 @@
/*
* Define the Util_ThreadID type.
*/
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
#include <pthread.h>
typedef pthread_t Util_ThreadID;
#elif defined(_WIN32)
@@ -119,7 +119,7 @@ EXTERN char *Util_GetSafeTmpDir(Bool use
EXTERN int Util_MakeSafeTemp(ConstUnicode tag,
Unicode *presult);
-#if defined(__linux__) || defined(__FreeBSD__) || defined(sun)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(sun) || defined(__NetBSD__)
EXTERN Bool Util_GetProcessName(pid_t pid, char *bufOut, size_t bufOutSize);
#endif