aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2020-09-21 10:32:30 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2020-09-21 10:32:30 +0000
commitfaf424550e0213bf9794df71b84301b9d5927632 (patch)
tree0c8ece4942dfa298c527e94699d475edfe75e8c6 /emulators
parent1aade6c47d4c31a84bde28e240834156e956b352 (diff)
Fix crash when accessing physical CD/DVD
PR: 248333 Reported by: mfv@bway.net Approved by: koobs (vbox) MFH: 2020Q3
Notes
Notes: svn path=/head/; revision=549433
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose/Makefile2
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DrvHostBase-freebsd.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 02c2d792d08e..e1c18887e350 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -3,7 +3,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.44
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DrvHostBase-freebsd.cpp b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DrvHostBase-freebsd.cpp
new file mode 100644
index 000000000000..7a472483318e
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DrvHostBase-freebsd.cpp
@@ -0,0 +1,11 @@
+--- src/VBox/Devices/Storage/DrvHostBase-freebsd.cpp 2020-09-17 20:17:20 UTC
++++ src/VBox/Devices/Storage/DrvHostBase-freebsd.cpp
+@@ -149,6 +149,8 @@
+ else
+ rc = RTErrConvertFromErrno(errno);
+ }
++
++ return rc;
+ }
+
+