mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #114735 from andresilva/virtualbox-linux-511
virtualbox: fix build on linux 5.11
This commit is contained in:
commit
8958b4fdae
@ -103,6 +103,8 @@ in stdenv.mkDerivation {
|
||||
qtPluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}:${qtwayland.bin}/${qtbase.qtPluginPrefix}";
|
||||
})
|
||||
++ [
|
||||
# NOTE: the patch for linux 5.11 can be removed when the next version of VirtualBox is released
|
||||
./linux-5-11.patch
|
||||
./qtx11extras.patch
|
||||
];
|
||||
|
||||
|
12
pkgs/applications/virtualization/virtualbox/linux-5-11.patch
Normal file
12
pkgs/applications/virtualization/virtualbox/linux-5-11.patch
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user