diff --git a/vbox-VBE_DISPI_INDEX_ENABLE.diff b/vbox-VBE_DISPI_INDEX_ENABLE.diff new file mode 100644 index 0000000..c96bf7e --- /dev/null +++ b/vbox-VBE_DISPI_INDEX_ENABLE.diff @@ -0,0 +1,13 @@ +Index: VirtualBox-4.1.4_OSE/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp +=================================================================== +--- VirtualBox-4.1.4_OSE.orig/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp ++++ VirtualBox-4.1.4_OSE/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp +@@ -174,7 +174,7 @@ RTDECL(bool) VBoxVideoGetModeRegisters(u + uint16_t fFlags; + + VBoxVideoCmnPortWriteUshort(VBE_DISPI_IOPORT_INDEX, +- VBE_DISPI_ENABLED); ++ VBE_DISPI_INDEX_ENABLE); + fFlags = VBoxVideoCmnPortReadUshort(VBE_DISPI_IOPORT_DATA); + if (pcWidth) + { diff --git a/virtualbox.changes b/virtualbox.changes index 92d29fe..feb448a 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 10 12:50:21 UTC 2011 - mseben@gmail.com + +- added vbox-VBE_DISPI_INDEX_ENABLE.diff to fix broken linux + console after starting X (bnc#717713) + ------------------------------------------------------------------- Fri Oct 7 09:41:22 UTC 2011 - mseben@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index ac4f959..cb5a9e9 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -89,6 +89,9 @@ Patch5: vbox-config.diff Patch6: vbox-smc-napa.diff #fix build of Python and dev package on openSUSE 11.3 Patch8: vbox-python-detection.diff +#fix Broken Linux console after starting X bnc#717713 +#patch grabbed from upstream ticket https://www.virtualbox.org/ticket/9490 +Patch9: vbox-VBE_DISPI_INDEX_ENABLE.diff #fix build Patch10: vbox-disable_vboxpci_build.diff #PATCH-FIX-OPENSUSE implement messagebox (VBoxPermissionMessage app), which is displayed, when user @@ -213,6 +216,7 @@ Development file for %{name} %patch5 -p1 %patch6 -p1 %patch8 -p1 +%patch9 -p1 %patch10 %patch99 -p1 %patch100