void-packages/srcpkgs/virtualbox-ose/patches/014-new-gsoap.patch
Jürgen Buchmüller b3ca34dc8a virtualbox-ose: update to 6.1.14
The new system liblzf-devel does not (yet) work and needs
further massaging and probably fixing. For now instead use
the liblzf shipped with VirtualBox.

[ci skip]
2020-09-08 21:06:38 +02:00

18 lines
731 B
Diff

Description: fix build failure with new gsoap
Bug-Debian: https://bugs.debian.org/966182
Forwarded: https://www.virtualbox.org/ticket/19634
Author: Gianfranco Costamagna <locutusofborg@debian.org>
--- src/VBox/Main/webservice/vboxweb.cpp
+++ 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 GSOAP_VERSION >= 208103
+ if (soap_socket_errno == SOAP_EINTR)
+#else
if (soap_socket_errno(soap.master) == SOAP_EINTR)
+#endif
rv = 0; // re-check if we should terminate
break;
}