forked from pool/virtualbox
2c52cfe01d
- VirtualBox 7.0.4 (released November 18 2022) VirtualBox 7.0.2 (released October 20 2022) VirtualBox 7.0.0 (released October 10 2022) OBS-URL: https://build.opensuse.org/request/show/1037192 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=664
47 lines
1.7 KiB
Diff
47 lines
1.7 KiB
Diff
Index: VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
===================================================================
|
|
--- VirtualBox-7.0.4.orig/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
+++ VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/vboxvideo.c
|
|
@@ -1236,7 +1236,11 @@ static Bool VBOXScreenInit(ScreenPtr pSc
|
|
#endif
|
|
|
|
/* Register block and wake-up handlers for getting new screen size hints. */
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
|
+ RegisterBlockAndWakeupHandlers(vboxBlockHandler, (ServerWakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
|
|
+#else
|
|
RegisterBlockAndWakeupHandlers(vboxBlockHandler, (WakeupHandlerProcPtr)NoopDDA, (pointer)pScrn);
|
|
+#endif
|
|
|
|
/* software cursor */
|
|
miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
|
|
Index: VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
===================================================================
|
|
--- VirtualBox-7.0.4.orig/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
+++ VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/pointer.c
|
|
@@ -39,6 +39,10 @@
|
|
#include "cursorstr.h"
|
|
#include "servermd.h"
|
|
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
|
+#include <bits/sigset.h>
|
|
+typedef __sigset_t sigset_t;
|
|
+#endif
|
|
#include "vboxvideo.h"
|
|
|
|
#ifdef XORG_7X
|
|
Index: VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
===================================================================
|
|
--- VirtualBox-7.0.4.orig/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
+++ VirtualBox-7.0.4/src/VBox/Additions/x11/vboxvideo/edid.c
|
|
@@ -35,6 +35,10 @@
|
|
* Michael Thayer <michael.thayer@oracle.com>
|
|
*/
|
|
|
|
+#if XORG_VERSION_CURRENT >= 11900000
|
|
+#include <bits/sigset.h>
|
|
+typedef __sigset_t sigset_t;
|
|
+#endif
|
|
#include "misc.h"
|
|
#include "xf86DDC.h"
|
|
#include "xf86Crtc.h"
|