diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2011-02-11 13:41:47 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2011-02-11 13:41:47 +0000 |
commit | 755770b0bb55205e29f0886831551e6a36e06c00 (patch) | |
tree | 1493306b542a26950d51a7b02518a6212446b92e /emulators/virtualbox-ose-kmod-legacy | |
parent | b029d9e1f9fbf47c400545e39a8ad76494e5544d (diff) | |
download | freebsd-ports-755770b0bb55205e29f0886831551e6a36e06c00.zip |
- Fix build on current after removal of uio_yield()
- Bump PORTREVISION
Submitted by: Michael Butler <imb at protected-networks dot net>
Diffstat (limited to 'emulators/virtualbox-ose-kmod-legacy')
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/Makefile | 1 | ||||
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-kmod-legacy/Makefile b/emulators/virtualbox-ose-kmod-legacy/Makefile index 36b6fa7f1d65..3ac683ce416b 100644 --- a/emulators/virtualbox-ose-kmod-legacy/Makefile +++ b/emulators/virtualbox-ose-kmod-legacy/Makefile @@ -7,6 +7,7 @@ PORTNAME= virtualbox-ose DISTVERSION= 3.2.12 +PORTREVISION= 1 CATEGORIES= emulators kld MASTER_SITES= http://tmp.chruetertee.ch/ \ http://freebsd.unixfreunde.de/sources/ \ diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c new file mode 100644 index 000000000000..e379ac172b4a --- /dev/null +++ b/emulators/virtualbox-ose-kmod-legacy/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 ... */ + } + |