diff options
author | decke <decke@FreeBSD.org> | 2011-02-11 21:41:47 +0800 |
---|---|---|
committer | decke <decke@FreeBSD.org> | 2011-02-11 21:41:47 +0800 |
commit | 7bf61f6a5d8ed1d6d9b26ce94f4afd3b30331c28 (patch) | |
tree | d22f2d8b036b640af8b831c0e90499c05df64b97 /emulators | |
parent | daefce569f51081ca9c462f2bf4c9839ac5f0586 (diff) | |
download | freebsd-ports-gnome-7bf61f6a5d8ed1d6d9b26ce94f4afd3b30331c28.tar.gz freebsd-ports-gnome-7bf61f6a5d8ed1d6d9b26ce94f4afd3b30331c28.tar.zst freebsd-ports-gnome-7bf61f6a5d8ed1d6d9b26ce94f4afd3b30331c28.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')
4 files changed, 34 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 ... */ + } + diff --git a/emulators/virtualbox-ose-kmod/Makefile b/emulators/virtualbox-ose-kmod/Makefile index 36b6fa7f1d65..3ac683ce416b 100644 --- a/emulators/virtualbox-ose-kmod/Makefile +++ b/emulators/virtualbox-ose-kmod/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/files/patch-src-VBox-Runtime-r0drv-freebsd-thread-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod/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/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 ... */ + } + |