aboutsummaryrefslogtreecommitdiff
path: root/ports/flatbuffers/fix-uwp-build.patch
diff options
context:
space:
mode:
authorXing Ji <33065325+jixingcn@users.noreply.github.com>2021-07-23 06:31:44 +0800
committerGitHub <noreply@github.com>2021-07-22 15:31:44 -0700
commiteea00aaa919f720e2dfc8b86ebe1402a5c4679be (patch)
tree3a3f018b26faff417ba19981e3cc8a7f1a7bb668 /ports/flatbuffers/fix-uwp-build.patch
parent10c81db0c95f91acfc97e7f51f58c3834a1c9892 (diff)
downloadvcpkg-eea00aaa919f720e2dfc8b86ebe1402a5c4679be.tar.gz
vcpkg-eea00aaa919f720e2dfc8b86ebe1402a5c4679be.zip
[flatbuffers] upgrade the `flatbuffers` to v2.0.0 (#18897)
* upgrade the flatbuffers's version * run `vcpkg x-add-version` * upgrade flatbuffers to v2.0.0 for mnn * add new port-version of `mnn` after upgrade the flatbuffers * fix the port-version of `mnn` * Update ports/mnn/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/flatbuffers/CONTROL Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * run `vcpkg x-add-version flatbuffers --overwrite-version` * run `vcpkg x-add-version mnn --overwrite-version` * regenerate code files by flatc before build * run `vcpkg x-add-version mnn --overwrite-version` * add `flatbuffers` in dependencies * run `vcpkg x-add-version mnn --overwrite-version` * new port version for mnn * run `vcpkg x-add-version mnn --overwrite-version` to rebuild * Update versions/m-/mnn.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update ports/mnn/vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * run `vcpkg x-add-version mnn --overwrite-version` * Add missing quotes. Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Diffstat (limited to 'ports/flatbuffers/fix-uwp-build.patch')
-rw-r--r--ports/flatbuffers/fix-uwp-build.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/flatbuffers/fix-uwp-build.patch b/ports/flatbuffers/fix-uwp-build.patch
index 5716f8a2f..44513b9e8 100644
--- a/ports/flatbuffers/fix-uwp-build.patch
+++ b/ports/flatbuffers/fix-uwp-build.patch
@@ -1,8 +1,8 @@
diff --git a/src/util.cpp b/src/util.cpp
-index c1bb197..658e116 100644
+index 3670a019..fb5d884f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
-@@ -245,9 +245,15 @@ bool ReadEnvironmentVariable(const char *var_name, std::string *_value) {
+@@ -255,9 +255,15 @@ bool ReadEnvironmentVariable(const char *var_name, std::string *_value) {
#ifdef _MSC_VER
__pragma(warning(disable : 4996)); // _CRT_SECURE_NO_WARNINGS
#endif