9099a819e0
- let it build with all versions of openjdk OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=100
15 lines
630 B
Diff
15 lines
630 B
Diff
--- a/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 42783)
|
|
+++ b/src/VBox/Additions/linux/drm/vboxvideo_drm.c (revision 42784)
|
|
@@ -106,7 +106,9 @@
|
|
{
|
|
/* .driver_features = DRIVER_USE_MTRR, */
|
|
.load = vboxvideo_driver_load,
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 6, 0)
|
|
.reclaim_buffers = drm_core_reclaim_buffers,
|
|
+#endif
|
|
/* As of Linux 2.6.37, always the internal functions are used. */
|
|
#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 37) && !defined(DRM_RHEL61)
|
|
.get_map_ofs = drm_core_get_map_ofs,
|
|
Index: vboxvideo_dac.c
|
|
===================================================================
|