aboutsummaryrefslogtreecommitdiff
path: root/ports/jwt-cpp/fix-warning.patch
diff options
context:
space:
mode:
authorChris Mc <prince.chrismc@gmail.com>2021-03-25 12:33:34 -0400
committerGitHub <noreply@github.com>2021-03-25 09:33:34 -0700
commit63cc543890990be9e67aecd7bc5b37dc430bd531 (patch)
treedfd2184d9fb1924204e35911912303b02277a843 /ports/jwt-cpp/fix-warning.patch
parent48b59daff4692bee24e35dba0e3c5d3d3a356f2b (diff)
downloadvcpkg-63cc543890990be9e67aecd7bc5b37dc430bd531.tar.gz
vcpkg-63cc543890990be9e67aecd7bc5b37dc430bd531.zip
[jwt-cpp] update to v0.5.0 (#16799)
* [jwt-cpp] update to v0.5.0 * Update CONTROL * Update portfile.cmake * Delete fix-warning.patch * Update and rename CONTROL to vcpkg.json * Update vcpkg.json * Update jwt-cpp.json * Update baseline.json * Update versions/j-/jwt-cpp.json * Apply suggestions from code review Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update versions/j-/jwt-cpp.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Diffstat (limited to 'ports/jwt-cpp/fix-warning.patch')
-rw-r--r--ports/jwt-cpp/fix-warning.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/ports/jwt-cpp/fix-warning.patch b/ports/jwt-cpp/fix-warning.patch
deleted file mode 100644
index 4c2e166c3..000000000
--- a/ports/jwt-cpp/fix-warning.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/include/jwt-cpp/base.h b/include/jwt-cpp/base.h
-index 375e0eb..4023709 100644
---- a/include/jwt-cpp/base.h
-+++ b/include/jwt-cpp/base.h
-@@ -2,6 +2,10 @@
- #include <string>
- #include <array>
-
-+#ifdef _MSC_VER
-+#pragma warning(disable : 4267)
-+#endif
-+
- #ifdef __has_cpp_attribute
- #if __has_cpp_attribute(fallthrough)
- #define JWT_FALLTHROUGH [[fallthrough]]
-diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h
-index 6e55729..4579310 100644
---- a/include/jwt-cpp/jwt.h
-+++ b/include/jwt-cpp/jwt.h
-@@ -12,6 +12,11 @@
- #include <openssl/ec.h>
- #include <openssl/err.h>
-
-+#ifdef _MSC_VER
-+#pragma warning(disable : 4267)
-+#pragma warning(disable : 4067)
-+#endif
-+
- //If openssl version less than 1.1
- #if OPENSSL_VERSION_NUMBER < 0x10100000L
- #define OPENSSL10