1
0
forked from jengelh/virtualbox
virtualbox/fixes_for_6.5.patch
Larry Finger 390649b14a Accepting request 1103410 from home:lwfinger:branches:Virtualization
- Fix build for kernel 6.5
  Add file "fixes_for_6.5.patch"
  Reworked patches for various Leap versions:
    Added file "fixes_for_leap.patch"
    Deleted file "fixes_for_leap15.2.patch"
    Deleted file "fixes_for_leap15.3.patch"
    Deleted file "fixes_for_leap15.4.patch"
    Deleted file "fixes_for_leap15.5.patch"

OBS-URL: https://build.opensuse.org/request/show/1103410
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=705
2023-08-10 22:11:33 +00:00

19 lines
745 B
Diff

Index: VirtualBox-7.0.10/src/VBox/Additions/linux/drm/vbox_fb.c
===================================================================
--- VirtualBox-7.0.10.orig/src/VBox/Additions/linux/drm/vbox_fb.c
+++ VirtualBox-7.0.10/src/VBox/Additions/linux/drm/vbox_fb.c
@@ -197,9 +197,13 @@ static struct fb_ops vboxfb_ops = {
.owner = THIS_MODULE,
.fb_check_var = drm_fb_helper_check_var,
.fb_set_par = drm_fb_helper_set_par,
+#if RTLNX_VER_MIN(6, 5, 0)
+ FB_DEFAULT_SYS_OPS,
+#else
.fb_fillrect = drm_fb_helper_sys_fillrect,
.fb_copyarea = drm_fb_helper_sys_copyarea,
.fb_imageblit = drm_fb_helper_sys_imageblit,
+#endif
.fb_pan_display = drm_fb_helper_pan_display,
.fb_blank = drm_fb_helper_blank,
.fb_setcmap = drm_fb_helper_setcmap,