From owner-svn-ports-all@freebsd.org Mon Sep 12 01:37:20 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF693BD7458; Mon, 12 Sep 2016 01:37:20 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9523BEBE; Mon, 12 Sep 2016 01:37:20 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8C1bJUU076345; Mon, 12 Sep 2016 01:37:19 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8C1bJUC076344; Mon, 12 Sep 2016 01:37:19 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201609120137.u8C1bJUC076344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 12 Sep 2016 01:37:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421892 - head/emulators/open-vm-tools/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 01:37:20 -0000 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