diff options
| author | Gianfranco Costamagna <costamagna.gianfranco@gmail.com> | 2023-10-18 13:14:11 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-10-18 08:47:09 -0700 |
| commit | b7ec500f46972e296c0830980397cae29d3f6969 (patch) | |
| tree | 28a7b971bc14095df65a9ef19543c76c44ba9bb0 /meta-oe | |
| parent | fca128559b07f21d30ef3297f87af8701a1dbee2 (diff) | |
| download | meta-openembedded-b7ec500f46972e296c0830980397cae29d3f6969.tar.gz | |
vbxguestdrivers: upgrade 7.0.10 -> 7.0.12
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch | 50 | ||||
| -rw-r--r-- | meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.12.bb (renamed from meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.10.bb) | 3 |
2 files changed, 1 insertions, 52 deletions
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch deleted file mode 100644 index 01969d4a11..0000000000 --- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch +++ /dev/null | |||
| @@ -1,50 +0,0 @@ | |||
| 1 | From 4cf34517b0c793405dca154cc70c9b5d1a566a8a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 3 | Date: Fri, 29 Sep 2023 14:52:50 -0400 | ||
| 4 | Subject: [PATCH] vbox_fb: fix kernel v6.5 build | ||
| 5 | |||
| 6 | When building against the 6.5 kernel (and kernel headers), the following | ||
| 7 | build error is encountered: | ||
| 8 | |||
| 9 | | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:194:24: error: 'drm_fb_helper_sys_fillrect' undeclared here (not in a function); did you mean 'drm_fb_helper_lastclose'? | ||
| 10 | | 194 | .fb_fillrect = drm_fb_helper_sys_fillrect, | ||
| 11 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 12 | | | drm_fb_helper_lastclose | ||
| 13 | | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:195:24: error: 'drm_fb_helper_sys_copyarea' undeclared here (not in a function); did you mean 'drm_fb_helper_set_par'? | ||
| 14 | | 195 | .fb_copyarea = drm_fb_helper_sys_copyarea, | ||
| 15 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 16 | | | drm_fb_helper_set_par | ||
| 17 | | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:196:25: error: 'drm_fb_helper_sys_imageblit' undeclared here (not in a function) | ||
| 18 | | 196 | .fb_imageblit = drm_fb_helper_sys_imageblit, | ||
| 19 | | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 20 | |||
| 21 | We backport a patch from vbox-dev to fix the issue. | ||
| 22 | |||
| 23 | Upstream-Status: Submitted [https://www.mail-archive.com/vbox-dev@virtualbox.org/msg10129.html] | ||
| 24 | |||
| 25 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
| 26 | --- | ||
| 27 | src/VBox/Additions/linux/drm/vbox_fb.c | 4 ++++ | ||
| 28 | 1 file changed, 4 insertions(+) | ||
| 29 | |||
| 30 | diff --git a/src/VBox/Additions/linux/drm/vbox_fb.c b/src/VBox/Additions/linux/drm/vbox_fb.c | ||
| 31 | index 2a8c79ab..d453533c 100644 | ||
| 32 | --- a/src/VBox/Additions/linux/drm/vbox_fb.c | ||
| 33 | +++ b/src/VBox/Additions/linux/drm/vbox_fb.c | ||
| 34 | @@ -196,9 +196,13 @@ static struct fb_ops vboxfb_ops = { | ||
| 35 | .owner = THIS_MODULE, | ||
| 36 | .fb_check_var = drm_fb_helper_check_var, | ||
| 37 | .fb_set_par = drm_fb_helper_set_par, | ||
| 38 | +#if RTLNX_VER_MIN(6, 5, 0) | ||
| 39 | + FB_DEFAULT_SYS_OPS, | ||
| 40 | +#else | ||
| 41 | .fb_fillrect = drm_fb_helper_sys_fillrect, | ||
| 42 | .fb_copyarea = drm_fb_helper_sys_copyarea, | ||
| 43 | .fb_imageblit = drm_fb_helper_sys_imageblit, | ||
| 44 | +#endif | ||
| 45 | .fb_pan_display = drm_fb_helper_pan_display, | ||
| 46 | .fb_blank = drm_fb_helper_blank, | ||
| 47 | .fb_setcmap = drm_fb_helper_setcmap, | ||
| 48 | -- | ||
| 49 | 2.34.1 | ||
| 50 | |||
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.10.bb b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.12.bb index 8e90138244..5574cdb2a4 100644 --- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.10.bb +++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.12.bb | |||
| @@ -13,10 +13,9 @@ VBOX_NAME = "VirtualBox-${PV}" | |||
| 13 | 13 | ||
| 14 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ | 14 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ |
| 15 | file://Makefile.utils \ | 15 | file://Makefile.utils \ |
| 16 | file://0001-vbox_fb-fix-kernel-v6.5-build.patch \ | ||
| 17 | " | 16 | " |
| 18 | 17 | ||
| 19 | SRC_URI[sha256sum] = "0b1e6d8b7f87d017c7fae37f80586acff04f799ffc1d51e995954d6415dee371" | 18 | SRC_URI[sha256sum] = "d76634c6ccf62503726a5aeae6c78a3462474c51a0ebe4942591ccc2d939890a" |
| 20 | 19 | ||
| 21 | S ?= "${WORKDIR}/vbox_module" | 20 | S ?= "${WORKDIR}/vbox_module" |
| 22 | S:task-patch = "${WORKDIR}/${VBOX_NAME}" | 21 | S:task-patch = "${WORKDIR}/${VBOX_NAME}" |
