diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-07-07 21:31:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-07 12:31:06 -0700 |
| commit | 761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e (patch) | |
| tree | fafc3ca4a857223a779e39343977b72bbff0c654 /ports/avro-cpp/fix-windows-build.patch | |
| parent | a1225b69e037b2f3a8dbf4a40bc4d3c957e1f865 (diff) | |
| download | vcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.tar.gz vcpkg-761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e.zip | |
[boost] update to 1.76.0 (#17335)
* [boost] update generator script for boost 1.76
* [boost] update ports to 1.76.0 (run generator)
* [boost] fix windows build?
* [quantlib] update and fix mac build
* [symengine] update and fix build
* [avro-cpp] update to latest master and fix windows build
* [folly] update to 2021.05.31.00
* [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build
* [proxygen] update to version 2021.05.31.00
* [fizz, proxygen, fbthrift] fix sodium target
* [proxygen] also works on macOS
* [quantlib] use fix from upstream to fix mac build
* [symengine] minimize patch file and fix deprecation warning
* [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00
* [fbthrift] remove unnecessary dependency rsocket
I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency
* [fizz,fbthrift] fix zlib dependency
* [fbthrift] pass required flex executable to cmake configure
* add version files
* [boost] generate-ports.ps1: Apply code review
* [boost] changes from new version of generate-ports script
* update version files
* [boost] generate-ports.ps1: Apply code review
Diffstat (limited to 'ports/avro-cpp/fix-windows-build.patch')
| -rw-r--r-- | ports/avro-cpp/fix-windows-build.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ports/avro-cpp/fix-windows-build.patch b/ports/avro-cpp/fix-windows-build.patch new file mode 100644 index 000000000..b20706fdc --- /dev/null +++ b/ports/avro-cpp/fix-windows-build.patch @@ -0,0 +1,33 @@ +diff --git a/lang/c++/impl/avrogencpp.cc b/lang/c++/impl/avrogencpp.cc +index 61570413..0b6b35a2 100644 +--- a/lang/c++/impl/avrogencpp.cc ++++ b/lang/c++/impl/avrogencpp.cc +@@ -804,8 +804,8 @@ static string readGuard(const string &filename) { + + int main(int argc, char **argv) { + const string NS("namespace"); +- const string OUT("output"); +- const string IN("input"); ++ const string OUT_FILE("output"); ++ const string IN_FILE("input"); + const string INCLUDE_PREFIX("include-prefix"); + const string NO_UNION_TYPEDEF("no-union-typedef"); + +@@ -817,14 +817,14 @@ int main(int argc, char **argv) { + po::store(po::parse_command_line(argc, argv, desc), vm); + po::notify(vm); + +- if (vm.count("help") || vm.count(IN) == 0 || vm.count(OUT) == 0) { ++ if (vm.count("help") || vm.count(IN_FILE) == 0 || vm.count(OUT_FILE) == 0) { + std::cout << desc << std::endl; + return 1; + } + + string ns = vm.count(NS) > 0 ? vm[NS].as<string>() : string(); +- string outf = vm.count(OUT) > 0 ? vm[OUT].as<string>() : string(); +- string inf = vm.count(IN) > 0 ? vm[IN].as<string>() : string(); ++ string outf = vm.count(OUT_FILE) > 0 ? vm[OUT_FILE].as<string>() : string(); ++ string inf = vm.count(IN_FILE) > 0 ? vm[IN_FILE].as<string>() : string(); + string incPrefix = vm[INCLUDE_PREFIX].as<string>(); + bool noUnion = vm.count(NO_UNION_TYPEDEF) != 0; + if (incPrefix == "-") { |
