From b3fcca9136fe4eb8d091d54f3317e9c7740b478abf362154be4651ac9d08af42 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 8 Oct 2022 00:58:54 +0000 Subject: [PATCH] Accepting request 1008891 from home:lwfinger:branches:Virtualization - Fix build breakage with kernel 6.0 due to variable-length array in middle of a struct. boo#1204151 File "fix_error_in_USB_header.patch" is added. OBS-URL: https://build.opensuse.org/request/show/1008891 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=658 --- virtualbox.changes | 6 ++++++ virtualbox.spec | 37 ++++++++++++++++++++++++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index b222520..579f8d3 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 8 00:49:59 UTC 2022 - Larry Finger + +- Fix build breakage with kernel 6.0 due to variable-length array in middle of a struct. boo#1204151 + File "fix_error_in_USB_header.patch" is affed. + ------------------------------------------------------------------- Wed Oct 5 17:28:00 UTC 2022 - Larry Finger diff --git a/virtualbox.spec b/virtualbox.spec index 7b242ea..d3aed61 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -173,6 +173,7 @@ Patch137: handle_gsoap_208103.patch Patch142: fixes_for_leap15.3.patch Patch143: vb-6.1.16-modal-dialog-parent.patch Patch144: fixes_for_leap15.4.patch +Patch145: fix_error_in_USB_header.patch Patch999: virtualbox-fix-ui-background-color.patch # # Common BuildRequires for both virtualbox and virtualbox-kmp @@ -297,8 +298,11 @@ and others, and limited virtualization of macOS guests on Apple hardware. VirtualBox is freely available as Open Source Software under the terms of the GNU Public License (GPL). -########################################## + + + +########################################## %package qt Summary: Qt GUI part for %{name} Group: System/Emulators/PC @@ -326,8 +330,11 @@ Obsoletes: %{name}-vboxwebsrv < %{version} %description websrv The VirtualBox web server is used to control headless VMs using a browser. -########################################### + + + +########################################### %package guest-tools Summary: VirtualBox guest tools Group: System/Emulators/PC @@ -349,8 +356,11 @@ Requires(pre): net-tools-deprecated %description guest-tools VirtualBox guest addition tools. -########################################### + + + +########################################### %package -n python3-%{name} Summary: Python bindings for %{name} Group: Development/Libraries/Python @@ -368,8 +378,11 @@ Obsoletes: python3-%{name}-ose < %{version} %description -n python3-%{name} Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. -########################################### + + + +########################################### %package devel Summary: Devel files for %{name} Group: Development/Libraries/Other @@ -382,8 +395,11 @@ Obsoletes: %{name}-ose-devel < %{version} %description devel Development file for %{name} -########################################### + + + +########################################### %package host-source Summary: Source files for %{name} host kernel modules Group: Development/Sources @@ -413,8 +429,11 @@ Source files for %{name} guest kernel modules These can be built for custom kernels using sudo %{_sbindir}/vboxguestconfig -########################################### + + + +########################################### %package guest-desktop-icons Summary: Icons for guest desktop files Group: System/Emulators/PC @@ -425,8 +444,11 @@ BuildArch: noarch %description guest-desktop-icons This package contains icons for guest desktop files that were created on the desktop. -########################################### + + + +########################################### %package vnc Summary: VNC desktop sharing Group: System/Emulators/PC @@ -503,6 +525,7 @@ This package contains the kernel-modules that VirtualBox uses to create or run v %patch144 -p1 %endif %patch143 -p1 +%patch145 -p1 # make VB UI background colors look sane again %patch999 -p1