2017-12-29 20:22:29 +01:00
|
|
|
Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2017-12-29 20:22:29 +01:00
|
|
|
--- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
|
|
+++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
|
|
@@ -1237,7 +1237,11 @@ static Bool VBOXScreenInit(ScreenPtr pSc
|
|
|
|
#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());
|
2017-12-29 20:22:29 +01:00
|
|
|
Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/pointer.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2017-12-29 20:22:29 +01:00
|
|
|
--- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
|
|
+++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
|
|
@@ -36,6 +36,10 @@
|
|
|
|
#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
|
|
|
|
Index: VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/edid.c
|
2016-12-05 04:50:25 +01:00
|
|
|
===================================================================
|
2017-12-29 20:22:29 +01:00
|
|
|
--- VirtualBox-5.2.0.orig/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
|
|
+++ VirtualBox-5.2.0/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
|
|
@@ -36,6 +36,10 @@
|
|
|
|
* 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"
|