]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- A patch against kernels 6.4.10 and newer. Probably to be removed in the next versio...
authorŁukasz Maśko <lmasko@pld-linux.org>
Fri, 18 Aug 2023 15:25:28 +0000 (17:25 +0200)
committerŁukasz Maśko <lmasko@pld-linux.org>
Fri, 18 Aug 2023 15:25:28 +0000 (17:25 +0200)
VirtualBox.spec
kernel-6.4.10.patch [new file with mode: 0644]

index 0ba0b5206be8993a68efa2780e800b36228d9d96..ae31aae9535f217115b0f95e1f266d510ad866aa 100644 (file)
@@ -47,7 +47,7 @@ exit 1
 
 %define                qtver   5.6.0
 
-%define                rel             1
+%define                rel             2
 %define                pname           VirtualBox
 Summary:       VirtualBox - x86 hardware virtualizer
 Summary(pl.UTF-8):     VirtualBox - wirtualizator sprzętu x86
@@ -74,6 +74,7 @@ Source12:     udev-guest.rules
 Patch0:                %{pname}-version-error.patch
 Patch1:                %{pname}-VBoxSysInfo.patch
 Patch2:                %{pname}-warning_workaround.patch
+Patch3:                kernel-6.4.10.patch
 Patch4:                wrapper.patch
 Patch6:                hardening-shared.patch
 Patch7:                lightdm-greeter-makefile.patch
@@ -536,6 +537,7 @@ echo override vboxsf %{_kernel_ver} misc >> kernel/installed/etc/depmod.d/%{_ker
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch4 -p1
 %patch6 -p1
 %patch7 -p1
diff --git a/kernel-6.4.10.patch b/kernel-6.4.10.patch
new file mode 100644 (file)
index 0000000..5ad0b6c
--- /dev/null
@@ -0,0 +1,13 @@
+--- VirtualBox-6.1.46/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c~        2023-08-18 13:23:19.899777134 +0200
++++ VirtualBox-6.1.46/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c 2023-08-18 13:29:51.703087517 +0200
+@@ -37,9 +37,9 @@
+ #if RTLNX_VER_MIN(2,6,24)
+ # include <linux/nsproxy.h>
+ #endif
+-#if RTLNX_VER_MIN(6,5,0)
++#if RTLNX_VER_MIN(6,4,10)
+ # include <net/gso.h>
+ #endif
+ #include <linux/netdevice.h>
+ #if RTLNX_VER_MAX(2,6,29) || RTLNX_VER_MIN(5,11,0)
+ # include <linux/ethtool.h>
This page took 0.051852 seconds and 4 git commands to generate.