]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- qt5 now defines GLsizeiptr auto/th/VirtualBox-6.0.8-4
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 13 Jul 2019 16:25:17 +0000 (18:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 13 Jul 2019 16:25:17 +0000 (18:25 +0200)
- rel 4

VirtualBox.spec
qt5-gl.patch [new file with mode: 0644]

index 3d32213c5e52782a6686e7f71dc40676d181cf88..cfdd337af9ab2e45f1160664b6ac059e2e71ec23 100644 (file)
@@ -42,7 +42,7 @@ exit 1
 
 %define                qtver   5.6.0
 
-%define                rel             3
+%define                rel             4
 %define                pname           VirtualBox
 Summary:       VirtualBox - x86 hardware virtualizer
 Summary(pl.UTF-8):     VirtualBox - wirtualizator sprzętu x86
@@ -83,6 +83,7 @@ Patch13:      %{pname}-no-scrextend.patch
 Patch14:       %{pname}-multipython.patch
 Patch15:       %{pname}-lightdm-1.19.2.patch
 Patch16:       %{pname}-no-vboxvideo.patch
+Patch17:       qt5-gl.patch
 URL:           http://www.virtualbox.org/
 %if %{with userspace}
 %ifarch %{x8664}
@@ -561,6 +562,7 @@ echo override vboxguest %{_kernel_ver} misc > PLD-MODULE-BUILD/installed/etc/dep
 %patch14 -p0
 %patch15 -p0
 %patch16 -p0
+%patch17 -p1
 
 %{__sed} -i -e 's,@VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
        -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
diff --git a/qt5-gl.patch b/qt5-gl.patch
new file mode 100644 (file)
index 0000000..d548008
--- /dev/null
@@ -0,0 +1,11 @@
+--- VirtualBox-6.0.8/include/VBox/VBoxGL2D.h~  2019-05-13 15:23:12.000000000 +0200
++++ VirtualBox-6.0.8/include/VBox/VBoxGL2D.h   2019-07-13 17:31:31.183251092 +0200
+@@ -111,7 +111,7 @@
+ 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
This page took 0.090059 seconds and 4 git commands to generate.