Accepting request 917602 from home:lwfinger:branches:Virtualization
- Add file "fixes-for-5.15.patch" to fix builds on kernel 5.15. OBS-URL: https://build.opensuse.org/request/show/917602 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=615
This commit is contained in:
parent
5e9a79fab9
commit
8693c4ad06
19
fixes-for-5.15.patch
Normal file
19
fixes-for-5.15.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
Index: VirtualBox-6.1.26/include/iprt/stdarg.h
|
||||||
|
===================================================================
|
||||||
|
--- VirtualBox-6.1.26.orig/include/iprt/stdarg.h
|
||||||
|
+++ VirtualBox-6.1.26/include/iprt/stdarg.h
|
||||||
|
@@ -44,7 +44,12 @@
|
||||||
|
# define __builtin_stdarg_start __builtin_va_start
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
-# include <stdarg.h>
|
||||||
|
+# include <linux/version.h>
|
||||||
|
+# if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)
|
||||||
|
+# include <stdarg.h>
|
||||||
|
+# else
|
||||||
|
+# include <linux/stdarg.h>
|
||||||
|
+# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 8 04:54:25 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
- Add file "fixes-for-5.15.patch" to fix builds on kernel 5.15.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 23 16:12:57 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
Mon Aug 23 16:12:57 UTC 2021 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
|
@ -178,6 +178,7 @@ Patch141: vb-6.1.16-modal-dialog-parent.patch
|
|||||||
Patch142: fixes_for_5.14.patch
|
Patch142: fixes_for_5.14.patch
|
||||||
Patch143: fix_ordering_of_qt_includes.patch
|
Patch143: fix_ordering_of_qt_includes.patch
|
||||||
Patch144: fixes_for_leap15.4.patch
|
Patch144: fixes_for_leap15.4.patch
|
||||||
|
Patch145: fixes-for-5.15.patch
|
||||||
Patch999: virtualbox-fix-ui-background-color.patch
|
Patch999: virtualbox-fix-ui-background-color.patch
|
||||||
#
|
#
|
||||||
# Common BuildRequires for both virtualbox and virtualbox-kmp
|
# Common BuildRequires for both virtualbox and virtualbox-kmp
|
||||||
@ -308,7 +309,9 @@ 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
|
||||||
@ -331,7 +334,9 @@ This package contains the code for the GUI used to control VMs.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
%package websrv
|
%package websrv
|
||||||
Summary: WebService GUI part for %{name}
|
Summary: WebService GUI part for %{name}
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -348,7 +353,9 @@ The VirtualBox web server is used to control headless VMs using a browser.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
%package guest-x11
|
%package guest-x11
|
||||||
Summary: VirtualBox X11 drivers for mouse and video
|
Summary: VirtualBox X11 drivers for mouse and video
|
||||||
Group: System/X11/Servers/XF86_4
|
Group: System/X11/Servers/XF86_4
|
||||||
@ -367,7 +374,9 @@ This package contains X11 guest utilities and X11 guest mouse and video drivers
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
%package guest-tools
|
%package guest-tools
|
||||||
Summary: VirtualBox guest tools
|
Summary: VirtualBox guest tools
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
@ -391,7 +400,9 @@ 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
|
||||||
@ -415,7 +426,9 @@ 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
|
||||||
@ -434,7 +447,9 @@ 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
|
||||||
@ -470,7 +485,9 @@ sudo /sbin/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
|
||||||
@ -487,7 +504,9 @@ 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
|
||||||
@ -565,6 +584,7 @@ This package contains the kernel-modules that VirtualBox uses to create or run v
|
|||||||
# Patch for Leap 15.4
|
# Patch for Leap 15.4
|
||||||
%patch144 -p1
|
%patch144 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch145 -p1
|
||||||
# make VB UI background colors look sane again
|
# make VB UI background colors look sane again
|
||||||
%patch999 -p1
|
%patch999 -p1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user