This commit is contained in:
parent
20daf12697
commit
7777011262
@ -2,42 +2,46 @@ Index: VirtualBox-6.0.4/include/VBox/VBoxGL2D.h
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/include/VBox/VBoxGL2D.h
|
--- VirtualBox-6.0.4.orig/include/VBox/VBoxGL2D.h
|
||||||
+++ VirtualBox-6.0.4/include/VBox/VBoxGL2D.h
|
+++ VirtualBox-6.0.4/include/VBox/VBoxGL2D.h
|
||||||
@@ -113,8 +113,10 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN
|
@@ -113,7 +113,11 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UN
|
||||||
/* GL_ARB_pixel_buffer_object*/
|
/* GL_ARB_pixel_buffer_object*/
|
||||||
#ifndef Q_WS_MAC
|
#ifndef Q_WS_MAC
|
||||||
/* apears to be defined on mac */
|
/* apears to be defined on mac */
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_READ_ONLY
|
#ifndef GL_READ_ONLY
|
||||||
# define GL_READ_ONLY 0x88B8
|
|
||||||
Index: VirtualBox-6.0.4/include/VBox/HostServices/glext.h
|
Index: VirtualBox-6.0.4/include/VBox/HostServices/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/include/VBox/HostServices/glext.h
|
--- VirtualBox-6.0.4.orig/include/VBox/HostServices/glext.h
|
||||||
+++ VirtualBox-6.0.4/include/VBox/HostServices/glext.h
|
+++ VirtualBox-6.0.4/include/VBox/HostServices/glext.h
|
||||||
@@ -3395,8 +3395,10 @@ typedef char GLchar; /* native charact
|
@@ -3395,7 +3395,11 @@ typedef char GLchar; /* native charact
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
Index: VirtualBox-6.0.4/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
Index: VirtualBox-6.0.4/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
--- VirtualBox-6.0.4.orig/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
+++ VirtualBox-6.0.4/src/VBox/Additions/3D/mesa/mesa-17.3.9/include/GL/glext.h
|
||||||
@@ -465,7 +465,9 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -465,7 +465,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
@ -46,12 +50,14 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorea
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glcorearb.h
|
||||||
@@ -614,7 +614,9 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -614,7 +614,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
@ -60,12 +66,14 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-11.0.7/GL/glext.h
|
||||||
@@ -465,7 +465,9 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
@@ -465,7 +465,11 @@ GLAPI void APIENTRY glBlendEquation (GLe
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
#define GL_VERSION_1_5 1
|
#define GL_VERSION_1_5 1
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
#define GL_BUFFER_SIZE 0x8764
|
#define GL_BUFFER_SIZE 0x8764
|
||||||
@ -74,57 +82,62 @@ Index: VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
--- VirtualBox-6.0.4.orig/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
+++ VirtualBox-6.0.4/src/VBox/Additions/x11/x11include/mesa-7.2/GL/glext.h
|
||||||
@@ -3708,8 +3708,10 @@ typedef char GLchar; /* native charact
|
@@ -3708,7 +3708,11 @@ typedef char GLchar; /* native charact
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
Index: VirtualBox-6.0.4/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
Index: VirtualBox-6.0.4/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
--- VirtualBox-6.0.4.orig/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
+++ VirtualBox-6.0.4/src/VBox/Devices/Graphics/vmsvga_glext/glext.h
|
||||||
@@ -6194,8 +6194,10 @@ typedef char GLchar;
|
@@ -6194,7 +6194,11 @@ typedef char GLchar;
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
--- VirtualBox-6.0.4.orig/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
+++ VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/GL/glext.h
|
||||||
@@ -3717,8 +3717,10 @@ typedef char GLchar; /* native charact
|
@@ -3717,7 +3717,11 @@ typedef char GLchar; /* native charact
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
/* GL types for handling large vertex buffer objects */
|
/* GL types for handling large vertex buffer objects */
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
#endif
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GL_ARB_vertex_buffer_object
|
#ifndef GL_ARB_vertex_buffer_object
|
||||||
/* GL types for handling large vertex buffer objects */
|
|
||||||
Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/chromium.h
|
Index: VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/chromium.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- VirtualBox-6.0.4.orig/src/VBox/GuestHost/OpenGL/include/chromium.h
|
--- VirtualBox-6.0.4.orig/src/VBox/GuestHost/OpenGL/include/chromium.h
|
||||||
+++ VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/chromium.h
|
+++ VirtualBox-6.0.4/src/VBox/GuestHost/OpenGL/include/chromium.h
|
||||||
@@ -499,7 +499,9 @@ PROC WINAPI wglGetProcAddress_prox( LPCS
|
@@ -499,7 +499,11 @@ PROC WINAPI wglGetProcAddress_prox( LPCS
|
||||||
#ifndef GL_VERSION_1_5
|
#ifndef GL_VERSION_1_5
|
||||||
|
|
||||||
typedef ptrdiff_t GLintptr;
|
typedef ptrdiff_t GLintptr;
|
||||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
typedef ptrdiff_t GLsizeiptr;
|
typedef ptrdiff_t GLsizeiptr;
|
||||||
|
+#else
|
||||||
|
+typedef long int GLsizeiptr
|
||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
/* prototype these functions for opengl_stub/getprocaddress.c */
|
/* prototype these functions for opengl_stub/getprocaddress.c */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 27 17:53:11 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
Thu Mar 28 00:20:43 UTC 2019 - Larry Finger <Larry.Finger@gmail.com>
|
||||||
|
|
||||||
- Fix build with the pending Qt 5.13. File "fixes_for_qt5.13.patch" is added. bsc#1130503
|
- Fix build with the pending Qt 5.13. File "fixes_for_qt5.13.patch" is added. bsc#1130503
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user