diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-03-13 18:40:16 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-03-13 18:40:16 +0000 |
commit | c77466075a588d0b6c2c281cf83e72f6b3e311e5 (patch) | |
tree | c236cd82e2ac06916a9bf74cf78edb7e2761f6f5 /emulators/virtualbox-ose-kmod-legacy | |
parent | 06efbf78f03457b56c8e3740453672b9df4a5776 (diff) | |
download | freebsd-ports-c77466075a588d0b6c2c281cf83e72f6b3e311e5.zip |
Work around build problems on recent stable/9.
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 |