void-packages/srcpkgs/virtualbox-ose/patches/014-new-gsoap.patch

19 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;
}