forked from pool/virtualbox
Accepting request 1008893 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/1008893 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=659
This commit is contained in:
parent
b3fcca9136
commit
6374f221da
20
fix_error_in_USB_header.patch
Normal file
20
fix_error_in_USB_header.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
===================================================================
|
||||||
|
--- a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
+++ a/src/VBox/Devices/USB/linux/USBProxyDevice-linux.cpp
|
||||||
|
@@ -90,7 +90,6 @@ typedef struct USBPROXYURBLNX
|
||||||
|
# pragma GCC diagnostic push
|
||||||
|
# pragma GCC diagnostic ignored "-Wpedantic"
|
||||||
|
#endif
|
||||||
|
- struct usbdevfs_urb KUrb;
|
||||||
|
#if RT_GNUC_PREREQ(6, 0)
|
||||||
|
# pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
@@ -110,6 +109,7 @@ typedef struct USBPROXYURBLNX
|
||||||
|
bool fDiscarded;
|
||||||
|
/** Size to transfer in remaining fragments of a split URB */
|
||||||
|
uint32_t cbSplitRemaining;
|
||||||
|
+ struct usbdevfs_urb KUrb; /* This entry MUST be last */
|
||||||
|
} USBPROXYURBLNX, *PUSBPROXYURBLNX;
|
||||||
|
|
||||||
|
/**
|
@ -2,7 +2,7 @@
|
|||||||
Sat Oct 8 00:49:59 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
Sat Oct 8 00:49:59 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
- Fix build breakage with kernel 6.0 due to variable-length array in middle of a struct. boo#1204151
|
- 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.
|
File "fix_error_in_USB_header.patch" is added.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 5 17:28:00 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
Wed Oct 5 17:28:00 UTC 2022 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
@ -303,6 +303,7 @@ the terms of the GNU Public License (GPL).
|
|||||||
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
%package qt
|
%package qt
|
||||||
Summary: Qt GUI part for %{name}
|
Summary: Qt GUI part for %{name}
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -335,6 +336,7 @@ The VirtualBox web server is used to control headless VMs using a browser.
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package guest-tools
|
%package guest-tools
|
||||||
Summary: VirtualBox guest tools
|
Summary: VirtualBox guest tools
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -361,6 +363,7 @@ VirtualBox guest addition tools.
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Python bindings for %{name}
|
Summary: Python bindings for %{name}
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
@ -383,6 +386,7 @@ Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Devel files for %{name}
|
Summary: Devel files for %{name}
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
@ -400,6 +404,7 @@ Development file for %{name}
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package host-source
|
%package host-source
|
||||||
Summary: Source files for %{name} host kernel modules
|
Summary: Source files for %{name} host kernel modules
|
||||||
Group: Development/Sources
|
Group: Development/Sources
|
||||||
@ -434,6 +439,7 @@ sudo %{_sbindir}/vboxguestconfig
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package guest-desktop-icons
|
%package guest-desktop-icons
|
||||||
Summary: Icons for guest desktop files
|
Summary: Icons for guest desktop files
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -449,6 +455,7 @@ This package contains icons for guest desktop files that were created on the des
|
|||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package vnc
|
%package vnc
|
||||||
Summary: VNC desktop sharing
|
Summary: VNC desktop sharing
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
|
Loading…
Reference in New Issue
Block a user