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

31 lines
1.1 KiB
Text

$NetBSD: patch-bf,v 1.1 2008/08/31 06:36:48 scottr Exp $
--- lib/procMgr/procMgrPosix.c.orig 2008-08-08 02:01:53.000000000 -0500
+++ lib/procMgr/procMgrPosix.c
@@ -31,7 +31,7 @@
// pull in setresuid()/setresgid() if possible
#define _GNU_SOURCE
#include <unistd.h>
-#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__)
+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__)
#include <asm/param.h>
#include <locale.h>
#include <sys/stat.h>
@@ -158,7 +158,7 @@ ProcMgr_ProcList *
ProcMgr_ListProcesses(void)
{
ProcMgr_ProcList *procList = NULL;
-#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__)
+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__)
Bool failed = FALSE;
DynBuf dbProcId;
DynBuf dbProcCmd;
@@ -453,7 +453,7 @@ abort:
ProcMgr_FreeProcList(procList);
procList = NULL;
}
-#endif // !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__)
+#endif // !defined(__FreeBSD__) && !defined(sun) && !defined(__APPLE__) && !defined(__NetBSD__)
return procList;
}