Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 582860 Details for
Bug 689846
=app-emulation/virtualbox-guest-additions-6.0.8 fails to build against kernel >=5.2.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch
virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch (text/plain), 1.57 KB, created by
Greg Turner
on 2019-07-14 17:13:30 UTC
(
hide
)
Description:
virtualbox-guest-additions-6.0.8-kernel520-ttm_bo_device_init_args.patch
Filename:
MIME Type:
Creator:
Greg Turner
Created:
2019-07-14 17:13:30 UTC
Size:
1.57 KB
patch
obsolete
>diff -urpN VirtualBox-6.0.8.orig/out/linux.amd64/release/bin/additions/src/vboxvideo/vbox_ttm.c VirtualBox-6.0.8/out/linux.amd64/release/bin/additions/src/vboxvideo/vbox_ttm.c >--- VirtualBox-6.0.8.orig/out/linux.amd64/release/bin/additions/src/vboxvideo/vbox_ttm.c 2019-07-14 09:06:58.419004838 -0700 >+++ VirtualBox-6.0.8/out/linux.amd64/release/bin/additions/src/vboxvideo/vbox_ttm.c 2019-07-14 09:10:46.995873050 -0700 >@@ -302,7 +302,10 @@ int vbox_mm_init(struct vbox_private *vb > #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71) > dev->anon_inode->i_mapping, > #endif >- DRM_FILE_PAGE_OFFSET, true); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) >+ DRM_FILE_PAGE_OFFSET, >+#endif >+ true); > if (ret) { > DRM_ERROR("Error initialising bo driver; %d\n", ret); > #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) >diff -urpN VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_ttm.c >--- VirtualBox-6.0.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c 2019-05-13 06:25:42.000000000 -0700 >+++ VirtualBox-6.0.8/src/VBox/Additions/linux/drm/vbox_ttm.c 2019-07-14 09:09:23.171243392 -0700 >@@ -307,7 +307,10 @@ int vbox_mm_init(struct vbox_private *vb > #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0) || defined(RHEL_71) > dev->anon_inode->i_mapping, > #endif >- DRM_FILE_PAGE_OFFSET, true); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) >+ DRM_FILE_PAGE_OFFSET, >+#endif >+ true); > if (ret) { > DRM_ERROR("Error initialising bo driver; %d\n", ret); > #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 689846
:
582858
| 582860