From 5447aabb6ce80b0a957acc3dcf1d7c9168da6f78654ad3ad6b017d8d52814e5b Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Thu, 28 Mar 2019 00:47:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=478 --- fixes_for_qt5.13.patch | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/fixes_for_qt5.13.patch b/fixes_for_qt5.13.patch index 3506d6f..36dbcea 100644 --- a/fixes_for_qt5.13.patch +++ b/fixes_for_qt5.13.patch @@ -9,7 +9,7 @@ Index: VirtualBox-6.0.4/include/VBox/VBoxGL2D.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif #endif @@ -25,7 +25,7 @@ Index: VirtualBox-6.0.4/include/VBox/HostServices/glext.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif #endif @@ -41,7 +41,7 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext. +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif typedef ptrdiff_t GLintptr; #define GL_BUFFER_SIZE 0x8764 @@ -57,7 +57,7 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorea +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif typedef ptrdiff_t GLintptr; #define GL_BUFFER_SIZE 0x8764 @@ -73,7 +73,7 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif typedef ptrdiff_t GLintptr; #define GL_BUFFER_SIZE 0x8764 @@ -89,7 +89,7 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif #endif @@ -105,7 +105,7 @@ Index: VirtualBox-6.0.4/src/VBox/Devices/Graphics/vmsvga_glext/glext.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif #endif @@ -121,7 +121,7 @@ Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/GL/glext.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif #endif @@ -137,8 +137,9 @@ Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/chromium.h +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) typedef ptrdiff_t GLsizeiptr; +#else -+typedef long int GLsizeiptr ++typedef long int GLsizeiptr; +#endif /* prototype these functions for opengl_stub/getprocaddress.c */ extern void APIENTRY glGenQueries(GLsizei n, GLuint *ids); +