[packages/VirtualBox] - A patch against kernels 6.4.10 and newer. Probably to be removed in the next version (if will exis
lmasko
lmasko at pld-linux.org
Fri Aug 18 17:57:34 CEST 2023
commit d5cde46bcd87d6acb192cdd28ea41b4e6a8771a8
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date: Fri Aug 18 17:25:28 2023 +0200
- A patch against kernels 6.4.10 and newer. Probably to be removed in the next version (if will exist).
VirtualBox.spec | 4 +++-
kernel-6.4.10.patch | 13 +++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index 0ba0b52..ae31aae 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -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
index 0000000..5ad0b6c
--- /dev/null
+++ b/kernel-6.4.10.patch
@@ -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>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/d5cde46bcd87d6acb192cdd28ea41b4e6a8771a8
More information about the pld-cvs-commit
mailing list