2019-01-28 21:37:13 +01:00
|
|
|
Index: VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2019-01-28 21:37:13 +01:00
|
|
|
--- VirtualBox-6.0.2.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
|
|
+++ VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
|
|
@@ -1236,7 +1236,11 @@ static Bool VBOXScreenInit(ScreenPtr pSc
|
2017-12-29 20:22:29 +01:00
|
|
|
#endif
|
2016-12-05 04:50:25 +01:00
|
|
|
|
|
|
|
/* Register block and wake-up handlers for getting new screen size hints. */
|
2016-12-05 23:43:01 +01:00
|
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
2016-12-05 04:50:25 +01:00
|
|
|
+ RegisterBlockAndWakeupHandlers(vboxBlockHandler, (ServerWakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
|
2016-12-05 23:43:01 +01:00
|
|
|
+#else
|
|
|
|
RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
|
|
|
|
+#endif
|
|
|
|
|
2016-12-05 04:50:25 +01:00
|
|
|
/* software cursor */
|
|
|
|
miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
|
2019-01-28 21:37:13 +01:00
|
|
|
Index: VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/pointer.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2019-01-28 21:37:13 +01:00
|
|
|
--- VirtualBox-6.0.2.orig/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
|
|
+++ VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
|
|
@@ -39,6 +39,10 @@
|
2017-12-29 20:22:29 +01:00
|
|
|
#include "cursorstr.h"
|
|
|
|
#include "servermd.h"
|
2016-12-05 04:50:25 +01:00
|
|
|
|
2016-12-05 23:43:01 +01:00
|
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
2016-12-05 04:50:25 +01:00
|
|
|
+#include <bits/sigset.h>
|
|
|
|
+typedef __sigset_t sigset_t;
|
2016-12-05 23:43:01 +01:00
|
|
|
+#endif
|
2017-12-29 20:22:29 +01:00
|
|
|
#include "vboxvideo.h"
|
2016-12-05 04:50:25 +01:00
|
|
|
|
2017-12-29 20:22:29 +01:00
|
|
|
#ifdef XORG_7X
|
2019-01-28 21:37:13 +01:00
|
|
|
Index: VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/edid.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2019-01-28 21:37:13 +01:00
|
|
|
--- VirtualBox-6.0.2.orig/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
|
|
+++ VirtualBox-6.0.2/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
|
|
@@ -35,6 +35,10 @@
|
2017-12-29 20:22:29 +01:00
|
|
|
* Michael Thayer <michael.thayer@oracle.com>
|
2016-12-05 04:50:25 +01:00
|
|
|
*/
|
|
|
|
|
2016-12-05 23:43:01 +01:00
|
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
2016-12-05 04:50:25 +01:00
|
|
|
+#include <bits/sigset.h>
|
|
|
|
+typedef __sigset_t sigset_t;
|
2016-12-05 23:43:01 +01:00
|
|
|
+#endif
|
2017-12-29 20:22:29 +01:00
|
|
|
#include "misc.h"
|
|
|
|
#include "xf86DDC.h"
|
|
|
|
#include "xf86Crtc.h"
|