- Fix build on current after removal of uio_yield()
- Bump PORTREVISION Submitted by: Michael Butler <imb at protected-networks dot net>
This commit is contained in:
parent
b029d9e1f9
commit
755770b0bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268935
@ -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/ \
|
||||
|
@ -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 ... */
|
||||
}
|
||||
|
@ -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/ \
|
||||
|
@ -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 ... */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user