diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2013-12-13 11:17:19 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2013-12-13 11:17:19 +0000 |
commit | a60eaff53fd7ab4174e758d36a6af42dd4300f9c (patch) | |
tree | 0ce1cf3abd9d6f7f619c3cda4ecadd684b6c900a /emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp | |
parent | Convert LIB_DEPENDS (diff) |
- Update to virtualbox-ose 4.2.20_1
- This update pulls in many changes from the port and brings better support
for FreeBSD 10 and GCC from ports. I am doing that in preparation of the
upcoming VirtualBox 4.3 update that should land soon.
Notes
Notes:
svn path=/head/; revision=336332
Diffstat (limited to 'emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp')
-rw-r--r-- | emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp deleted file mode 100644 index 00e3d32c29d5..000000000000 --- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp +++ /dev/null @@ -1,25 +0,0 @@ -- Add support for files to VBoxManage createrawvmdk. Currently -it only supports character devices so it failes like this: - -VBoxManage internalcommands createrawvmdk -filename test.vmdk -rawdisk /vbox/HardDisks/test.img -VBoxManage: error: File '/vbox/HardDisks/test.img' is no character device -VBoxManage: error: The raw disk vmdk file was not created - -Submitted by: Pawel Jakub Dawidek <pjd@FreeBSD.org> ---- src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp.orig 2011-12-13 11:18:43.424439415 +0100 -+++ src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp 2011-12-13 11:22:01.554438862 +0100 -@@ -1140,9 +1140,13 @@ - goto out; - } - } -+ else if (S_ISREG(DevStat.st_mode)) -+ { -+ cbSize = DevStat.st_size; -+ } - else - { -- RTMsgError("File '%s' is no character device", rawdisk.c_str()); -+ RTMsgError("File '%s' is neither character device nor regular file", rawdisk.c_str()); - vrc = VERR_INVALID_PARAMETER; - goto out; - } |