fix compilation on x86 auto/th/VirtualBox-6.1.6-2
authorJan Palus <atler@pld-linux.org>
Thu, 16 Apr 2020 22:12:00 +0000 (00:12 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 16 Apr 2020 22:12:29 +0000 (00:12 +0200)
upstream issue https://www.virtualbox.org/ticket/19494

VirtualBox.spec
x86-guest.patch [new file with mode: 0644]

index 1ccb9c88f530a5a5ce69bb67615237994787bbd8..b90afa22494dcf6972db090ce986f7132d76136a 100644 (file)
@@ -88,6 +88,7 @@ Patch15:      %{pname}-lightdm-1.19.2.patch
 Patch16:       %{pname}-no-vboxvideo.patch
 Patch17:       qt5-gl.patch
 Patch18:       eflags.ac.patch
+Patch19:       x86-guest.patch
 URL:           http://www.virtualbox.org/
 %if %{with userspace}
 %ifarch %{x8664}
@@ -553,6 +554,7 @@ echo override vboxsf %{_kernel_ver} misc >> kernel/installed/etc/depmod.d/%{_ker
 %patch16 -p0
 %patch17 -p1
 %patch18 -p1
+%patch19 -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/x86-guest.patch b/x86-guest.patch
new file mode 100644 (file)
index 0000000..044fe3e
--- /dev/null
@@ -0,0 +1,11 @@
+--- VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp.orig       2020-04-09 19:34:49.000000000 +0200
++++ VirtualBox-6.1.6/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp    2020-04-17 00:05:01.199999966 +0200
+@@ -293,7 +293,7 @@
+     }
+ }
+-int x11MonitorThreadFunction(RTTHREAD hThreadSelf, void *pvUser)
++DECLCALLBACK(int) x11MonitorThreadFunction(RTTHREAD hThreadSelf, void *pvUser)
+ {
+     (void)hThreadSelf;
+     (void*)pvUser;
This page took 0.448913 seconds and 4 git commands to generate.