aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boinc/fix-mingw-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/boinc/fix-mingw-build.patch')
-rw-r--r--vcpkg/ports/boinc/fix-mingw-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/boinc/fix-mingw-build.patch b/vcpkg/ports/boinc/fix-mingw-build.patch
new file mode 100644
index 0000000..fcdf725
--- /dev/null
+++ b/vcpkg/ports/boinc/fix-mingw-build.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/hostinfo.cpp b/lib/hostinfo.cpp
+index c1fde8a348..7302f1b526 100644
+--- a/lib/hostinfo.cpp
++++ b/lib/hostinfo.cpp
+@@ -448,7 +448,7 @@ bool HOST_INFO::get_docker_compose_version_string(
+ bool HOST_INFO::have_docker() {
+ #ifdef _WIN32
+ for (WSL_DISTRO &wd: wsl_distros.distros) {
+- if (!empty(wd.docker_version)) return true;
++ if (!wd.docker_version.empty()) return true;
+ }
+ return false;
+ #else