mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 02:49:01 +08:00
6647a76be8
* [fbthrift, fizz, folly] Fix dependency resolution. Found by nightly build https://dev.azure.com/vcpkg/public/_build/results?buildId=67402 * wangle was fixed by a compiler update on a patch tuesday. * this unblocked attempting fbthrift on x64-windows hosts, but it misses a header; added patch already merged upstream adding missing algorithm <include> * fixed folly attempt to insert the right debug prefix which was broken by vcpkg_fixup_cmake_targets no longer generating _IMPORT_PREFIX. * disable dynamic build of fbthrift on Windows because it tries to create DLLs with no import libs (because it makes no exports) * Format and fix version database. * Back out fizz patches. * Block dynamic flavors. (The build in question builds an exe and expects all its dependencies to be linked statically and patching the build system to copy over the right DLLs seems out of scope) * Add libevent patch. * Also fixup mvfst and add missing CONFIG to patch. * Remove unused patch. * Fix version sha
29 lines
858 B
Diff
29 lines
858 B
Diff
From f2151fa730058a1baf23ed3dc082c91df6351da1 Mon Sep 17 00:00:00 2001
|
|
From: "Zeyi (Rice) Fan" <zeyi@fb.com>
|
|
Date: Fri, 4 Feb 2022 15:17:53 -0800
|
|
Subject: [PATCH] fix build failure on Windows
|
|
|
|
Summary: Fix a build error on Windows where `std::mismatch` is not found.
|
|
|
|
Reviewed By: xavierd
|
|
|
|
Differential Revision: D34012963
|
|
|
|
fbshipit-source-id: 9f5aa21d03a92fdadf5bc83943a159a2f7872144
|
|
---
|
|
thrift/compiler/generate/build_templates.cc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/thrift/compiler/generate/build_templates.cc b/thrift/compiler/generate/build_templates.cc
|
|
index 56f13e8dde8..acd9dd30a75 100644
|
|
--- a/thrift/compiler/generate/build_templates.cc
|
|
+++ b/thrift/compiler/generate/build_templates.cc
|
|
@@ -14,6 +14,7 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
+#include <algorithm>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <iterator>
|