diff options
Diffstat (limited to 'emulators/virtualbox-ose-kmod-legacy')
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h b/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h new file mode 100644 index 000000000000..53b7a7a34524 --- /dev/null +++ b/emulators/virtualbox-ose-kmod-legacy/files/patch-include-iprt-x86.h @@ -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 |