pkgsrc/sysutils/open-vm-tools/patches/patch-lib_include_vmblock__user.h
ryoon b62fef397b Update to 10.2.0
* Use x11/gtkmm3

Changelog:
Compatibility
  * open-vm-tools 10.2.0 is compatible with all supported versions
    of VMware vSphere ESXi 5.5 and later, VMware Workstation 14.0 and
    VMware Fusion 10.0. See VMware Compatibility Guide for more information.

  * Starting with VMware Tools version 10.2.0, Perl script based VMware
    Tools installation for FreeBSD has been discontinued. Going forward,
    FreeBSD systems are supported only through the open-vm-tools packages
    directly available from FreeBSD package repositories. FreeBSD packages
    for open-vm-tools 10.1.0 and later are available from FreeBSD package
    repositories.

Resolved Issues
  * Summary page of the VM does not list the IP address of the VMs in
    the right order

  * Guest authentication fails with a SystemError fault when the requested
    password is expired

  * The free space reported in vim.vm.GuestInfo.DiskInfo for a Linux guest
    does not match with df command in the guest

  * VMware user process might not restart after upgrades of open-vm-tools
2018-01-01 06:56:01 +00:00

24 lines
650 B
C

$NetBSD: patch-lib_include_vmblock__user.h,v 1.2 2018/01/01 06:56:01 ryoon Exp $
--- lib/include/vmblock_user.h.orig 2017-12-15 19:09:51.000000000 +0000
+++ lib/include/vmblock_user.h
@@ -72,6 +72,10 @@
extern "C" {
#endif
+#if defined(__NetBSD__)
+#include <sys/ioctl.h>
+#endif
+
static INLINE int
VMBLOCK_CONTROL_FUSE(int fd, // IN
char op, // IN
@@ -129,7 +133,7 @@ VMBLOCK_CONTROL(int fd, int op, const ch
return write(fd, path, op);
}
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__)
static INLINE int
VMBLOCK_CONTROL(int fd, int cmd, const char *path)