diff options
author | decke <decke@FreeBSD.org> | 2011-03-18 21:31:05 +0800 |
---|---|---|
committer | decke <decke@FreeBSD.org> | 2011-03-18 21:31:05 +0800 |
commit | f4b26e75d3288119a9a1619a26b0e743f33c2a22 (patch) | |
tree | be549e315c449c7ebf56e50571cbd01a285066c1 /emulators | |
parent | 47f6414e1685e6fba8d34fc34a8f857b42f69ce4 (diff) | |
download | freebsd-ports-gnome-f4b26e75d3288119a9a1619a26b0e743f33c2a22.tar.gz freebsd-ports-gnome-f4b26e75d3288119a9a1619a26b0e743f33c2a22.tar.zst freebsd-ports-gnome-f4b26e75d3288119a9a1619a26b0e743f33c2a22.zip |
- Fix build on current after removal of uio_yield()
Submitted by: Michael Butler <imb@protected-networks.net>
Reported by: pointyhat (via pav)
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c new file mode 100644 index 000000000000..e379ac172b4a --- /dev/null +++ b/emulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c @@ -0,0 +1,16 @@ +*** ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c~ Wed Dec 1 12:09:43 2010 +--- ./src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c Wed Feb 9 13:44:28 2011 +*************** +*** 101,107 **** +--- 101,111 ---- + + RTDECL(bool) RTThreadYield(void) + { ++ #if (__FreeBSD_version >= 900032) ++ kern_yield(curthread->td_user_pri); ++ #else + uio_yield(); ++ #endif + return false; /** @todo figure this one ... */ + } + |