diff options
Diffstat (limited to 'meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch')
-rw-r--r-- | meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch new file mode 100644 index 0000000000..cb4148fc79 --- /dev/null +++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/kernel-5.8-4.patch @@ -0,0 +1,19 @@ +Description: Fix kernel 5.8 forbidding use of vermagic.h header file +Author: Gianfranco Costamagna <locutusofborg@debian.org> +Origin: https://www.virtualbox.org/ticket/19644 +Bug-Ubuntu: https://launchpad.net/bugs/1884652 +Last-Update: 2020-08-10 + +--- virtualbox-6.1.12-dfsg.orig/src/VBox/Additions/linux/sharedfolders/vfsmod.c ++++ virtualbox-6.1.12-dfsg/src/VBox/Additions/linux/sharedfolders/vfsmod.c +@@ -53,7 +53,9 @@ + #include <linux/seq_file.h> + #include <linux/vfs.h> + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 62) +-# include <linux/vermagic.h> ++# if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) ++# include <linux/vermagic.h> ++# endif + #endif + #include <VBox/err.h> + #include <iprt/path.h> |