svn commit: r348107 - head/emulators/virtualbox-ose/files

Jung-uk Kim jkim at FreeBSD.org
Thu Mar 13 17:41:52 UTC 2014


Author: jkim
Date: Thu Mar 13 17:41:51 2014
New Revision: 348107
URL: http://svnweb.freebsd.org/changeset/ports/348107
QAT: https://qat.redports.org/buildarchive/r348107/

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

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

Added: head/emulators/virtualbox-ose/files/patch-include-iprt-x86.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/virtualbox-ose/files/patch-include-iprt-x86.h	Thu Mar 13 17:41:51 2014	(r348107)
@@ -0,0 +1,18 @@
+--- include/iprt/x86.h.orig	2014-02-25 11:59:50.000000000 -0500
++++ include/iprt/x86.h	2014-03-11 16:46:08.000000000 -0400
+@@ -35,6 +35,15 @@
+ # pragma D depends_on library vbox-types.d
+ #endif
+ 
++/* Workaround for FreeBSD machine/specialreg.h defining MSRs */
++#ifdef RT_OS_FREEBSD
++# undef MSR_P5_MC_ADDR
++# undef MSR_P5_MC_TYPE
++# undef MSR_IA32_PLATFORM_ID
++# undef MSR_BBL_CR_CTL3
++# undef MSR_IA32_MISC_ENABLE
++#endif
++
+ /* Workaround for Solaris sys/regset.h defining CS, DS */
+ #ifdef RT_OS_SOLARIS
+ # undef CS


More information about the svn-ports-head mailing list