1
0
forked from pool/virtualbox
virtualbox/handle_gsoap_208103.patch
Larry Finger b2c5acc97e Accepting request 810259 from home:lwfinger:branches:Virtualization
- Gsoap 2.8.103 changes the way that "soap_socket_errno" is handled.
  File "handle_gsoap_208103.patch" is added.
  Handle case where Wayland chooses wrong video. File "fix_wayland_crash.patch" is added.

OBS-URL: https://build.opensuse.org/request/show/810259
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=552
2020-05-29 18:57:25 +00:00

18 lines
732 B
Diff

Index: VirtualBox-6.1.8/src/VBox/Main/webservice/vboxweb.cpp
===================================================================
--- VirtualBox-6.1.8.orig/src/VBox/Main/webservice/vboxweb.cpp
+++ VirtualBox-6.1.8/src/VBox/Main/webservice/vboxweb.cpp
@@ -944,7 +944,11 @@ static void doQueuesLoop()
if (rv == 0)
continue; // timeout, not necessary to bother gsoap
// r < 0, errno
- if (soap_socket_errno(soap.master) == SOAP_EINTR)
+#if GSOAP_VERSION >= 208103
+ if (soap_socket_errno == SOAP_EINTR)
+#else
+ if (soap_socket_errno(fd) == SOAP_EINTR)
+#endif
rv = 0; // re-check if we should terminate
break;
}