svn commit: r421892 - head/emulators/open-vm-tools/files

Steve Wills swills at FreeBSD.org
Mon Sep 12 01:37:20 UTC 2016


Author: swills
Date: Mon Sep 12 01:37:19 2016
New Revision: 421892
URL: https://svnweb.freebsd.org/changeset/ports/421892

Log:
  emulators/open-vm-tools: Fix build with clang 3.9.0
  
  PR:		212426
  Submitted by:	dim

Added:
  head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h   (contents, props changed)

Added: head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h	Mon Sep 12 01:37:19 2016	(r421892)
@@ -0,0 +1,15 @@
+--- lib/include/vm_basic_defs.h.orig	2013-09-23 15:51:10 UTC
++++ lib/include/vm_basic_defs.h
+@@ -81,7 +81,11 @@
+ #include "vm_basic_types.h" // For INLINE.
+ 
+ /* Checks for FreeBSD, filtering out VMKERNEL. */
+-#define __IS_FREEBSD__ (!defined(VMKERNEL) && defined(__FreeBSD__))
++#if !defined(VMKERNEL) && defined(__FreeBSD__)
++#define __IS_FREEBSD__ 1
++#else
++#define __IS_FREEBSD__ 0
++#endif
+ #define __IS_FREEBSD_VER__(ver) (__IS_FREEBSD__ && __FreeBSD_version >= (ver))
+ 
+ #if defined _WIN32 && defined USERLEVEL


More information about the svn-ports-head mailing list