From f9c6b411279634416a12ef9e432308d6e7d05a18f87f96a9a5d309f096aa72bd Mon Sep 17 00:00:00 2001 From: Michal Seben Date: Mon, 10 Oct 2011 12:55:27 +0000 Subject: [PATCH] - added vbox-VBE_DISPI_INDEX_ENABLE.diff to fix broken linux console after starting X (bnc#717713) OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=62 --- vbox-VBE_DISPI_INDEX_ENABLE.diff | 13 +++++++++++++ virtualbox.changes | 6 ++++++ virtualbox.spec | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 vbox-VBE_DISPI_INDEX_ENABLE.diff 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