summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h')
-rw-r--r--emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h b/emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h
new file mode 100644
index 000000000000..a319e03b6f8a
--- /dev/null
+++ b/emulators/virtualbox-ose-legacy/files/patch-include_VBox_VBoxGL2D.h
@@ -0,0 +1,16 @@
+Fix build with Qt5 5.13, which defined GLsizeiptr already.
+
+Obtained from:
+ https://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg436220.html
+
+--- include/VBox/VBoxGL2D.h.orig 2019-09-29 14:31:16 UTC
++++ include/VBox/VBoxGL2D.h
+@@ -107,7 +107,7 @@ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UNIFORM3I)(GLint
+ typedef GLvoid (APIENTRY *PFNVBOXVHWA_UNIFORM4I)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
+
+ /* GL_ARB_pixel_buffer_object*/
+-#ifndef Q_WS_MAC
++#if 0
+ /* apears to be defined on mac */
+ typedef ptrdiff_t GLsizeiptr;
+ #endif