Date: Tuesday, February 16, 2021 @ 07:39:12
  Author: eworm
Revision: 862231

fix host modules for linux 5.11

Added:
  virtualbox/trunk/020-linux-5-11.patch
Modified:
  virtualbox/trunk/PKGBUILD

----------------------+
 020-linux-5-11.patch |   12 ++++++++++++
 PKGBUILD             |    6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

Added: 020-linux-5-11.patch
===================================================================
--- 020-linux-5-11.patch                                (rev 0)
+++ 020-linux-5-11.patch        2021-02-16 07:39:12 UTC (rev 862231)
@@ -0,0 +1,12 @@
+diff --git a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c 
b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+index 7033b45..c8178a6 100644
+--- a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
++++ b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+@@ -39,6 +39,7 @@
+ #endif
+ #include <linux/netdevice.h>
+ #include <linux/etherdevice.h>
++#include <linux/ethtool.h>
+ #include <linux/rtnetlink.h>
+ #include <linux/miscdevice.h>
+ #include <linux/inetdevice.h>

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-02-16 05:13:05 UTC (rev 862230)
+++ PKGBUILD    2021-02-16 07:39:12 UTC (rev 862231)
@@ -79,7 +79,8 @@
         '016-VBoxServiceAutoMount-Change-Linux-mount-code-to-use-.patch'
         '017-fix-narrowing-conversion.patch'
         '018-xclient.patch'
-        '019-python3.9.patch')
+        '019-python3.9.patch'
+        '020-linux-5-11.patch')
 sha256sums=('108d42b9b391b7a332a33df1662cf7b0e9d9a80f3079d16288d8b9487f427d40'
             'SKIP'
             '76d98ea062fcad9e5e3fa981d046a6eb12a3e718a296544a68b66f4b65cb56db'
@@ -104,7 +105,8 @@
             '100c9e14e9cfb12ae65364e830153d2481cf272ceeb39d11c6b203bc6e35bf0c'
             '5aac692909a0a0ec56b08bdece9e42cf7463abdca9da2f990d441ff463be6a99'
             'cac5a573e9ed5aafb2f469c2e6fffb8cd4f389bbadba5a968c9f65be7a72fee3'
-            '039c7b520ae589bc52dc6c0e658f7ec28ca8defb12ccbc32ad9834361d23162c')
+            '039c7b520ae589bc52dc6c0e658f7ec28ca8defb12ccbc32ad9834361d23162c'
+            'a8fb9e4d0bb662a60953c17df79f60f225aaebf192bbd2319aa2b5d7a8a28bbc')
 
 prepare() {
     cd "VirtualBox-$pkgver"

Reply via email to