summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2014-09-17 09:26:25 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2014-09-17 09:26:25 +0000
commit1a9f6e6f13b00ae8a43420cf85ea21c429183827 (patch)
tree4823357e46b2afc12f5ee827987065a665596fcc /emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
parentsysutils/rubygem-facter: update 2.1.0 -> 2.2.0 (diff)
- Update to 4.3.16
Submitted by: Mikhail Tsatsenko <m.tsatsenko@gmail.com>, Jung-uk Kim <jkim@FreeBSD.org> Obtained from: svn.redports.org/virtualbox
Diffstat (limited to 'emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp')
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
new file mode 100644
index 000000000000..37c3fb2bbb1d
--- /dev/null
+++ b/emulators/virtualbox-ose/files/patch-src-VBox-Devices-Storage-DevATA.cpp
@@ -0,0 +1,11 @@
+--- src/VBox/Devices/Storage/DevATA.cpp.orig 2014-07-15 13:24:35.000000000 -0400
++++ src/VBox/Devices/Storage/DevATA.cpp 2014-07-16 18:17:03.000000000 -0400
+@@ -2479,7 +2479,7 @@
+ return 0;
+
+ ataH2BE_U16(pbBuf, 0x0); /* feature 0: list of profiles supported */
+- pbBuf[2] = (0 << 2) | (1 << 1) | (1 || 0); /* version 0, persistent, current */
++ pbBuf[2] = (0 << 2) | (1 << 1) | (1 << 0); /* version 0, persistent, current */
+ pbBuf[3] = 8; /* additional bytes for profiles */
+ /* The MMC-3 spec says that DVD-ROM read capability should be reported
+ * before CD-ROM read capability. */