Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 18:40:16 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348115 - head/emulators/virtualbox-ose-kmod-legacy/files
Message-ID:  <201403131840.s2DIeG8H029436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Mar 13 18:40:16 2014
New Revision: 348115
URL: http://svnweb.freebsd.org/changeset/ports/348115
QAT: https://qat.redports.org/buildarchive/r348115/

Log:
  Work around build problems on recent stable/9.

Added:
  head/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h   (contents, props changed)

Added: head/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h	Thu Mar 13 18:40:16 2014	(r348115)
@@ -0,0 +1,15 @@
+--- include/iprt/x86.h.orig	2014-01-11 03:15:24.000000000 -0500
++++ include/iprt/x86.h	2014-03-13 14:13:50.000000000 -0400
+@@ -35,6 +35,12 @@
+ # pragma D depends_on library vbox-types.d
+ #endif
+ 
++/* Workaround for FreeBSD machine/specialreg.h defining MSRs */
++#ifdef RT_OS_FREEBSD
++# undef MSR_IA32_PLATFORM_ID
++# undef MSR_IA32_MISC_ENABLE
++#endif
++
+ /* Workaround for Solaris sys/regset.h defining CS, DS */
+ #ifdef RT_OS_SOLARIS
+ # undef CS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403131840.s2DIeG8H029436>