summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-13 19:19:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-13 19:19:49 +0000
commit88d95ab6f936d2397ebfadeab789ea30928c4ada (patch)
tree253eb667f11ee505c8ba8c04ba2ceaf8e7459750 /emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c
parentMark DEPRECATED with an EXPIRATION_DATE of 2009-10-13 since it depends (diff)
- Update to 3.0.51r22902. This version enables host serial support
and support for bridged and hostonly networking contributed by Fredrik Lindberg <fli AT shapeshifter.se>. - Install GuestAdditions in designated directory. [1] - Install NLS files in designated directory. - Add workaround for directory permission problem. Reported by: Jonathan Chen <jonc AT chen.org.nz> [1] On behalf of: vbox@ (decke, dhn, beat, nox)
Diffstat (limited to 'emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c')
-rw-r--r--emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c
deleted file mode 100644
index c2cdf7963fd7..000000000000
--- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd.semevent-r0drv-freebsd.c
+++ /dev/null
@@ -1,41 +0,0 @@
-Index: src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c
-@@ -205,15 +205,23 @@ static int rtSemEventWait(RTSEMEVENT Eve
-
- RTSpinlockRelease(pEventInt->hSpinLock, &Tmp);
-
-+#if __FreeBSD_version >=800026
- if (fInterruptible)
- rc = sleepq_timedwait_sig(pEventInt, 0);
- else
- rc = sleepq_timedwait(pEventInt, 0);
-+#else
-+ if (fInterruptible)
-+ rc = sleepq_timedwait_sig(pEventInt);
-+ else
-+ rc = sleepq_timedwait(pEventInt);
-+#endif
- }
- else
- {
- RTSpinlockRelease(pEventInt->hSpinLock, &Tmp);
-
-+#if __FreeBSD_version >=800026
- if (fInterruptible)
- rc = sleepq_wait_sig(pEventInt, 0);
- else
-@@ -221,6 +229,15 @@ static int rtSemEventWait(RTSEMEVENT Eve
- rc = 0;
- sleepq_wait(pEventInt, 0);
- }
-+#else
-+ if (fInterruptible)
-+ rc = sleepq_wait_sig(pEventInt);
-+ else
-+ {
-+ rc = 0;
-+ sleepq_wait(pEventInt);
-+ }
-+#endif
- }
-
- RTSpinlockAcquire(pEventInt->hSpinLock, &Tmp);