diff --git a/.patch/cpp-jwt/0001-libcxx.patch b/.patch/cpp-jwt/0001-libcxx.patch new file mode 100644 index 0000000000..3151da4006 --- /dev/null +++ b/.patch/cpp-jwt/0001-libcxx.patch @@ -0,0 +1,13 @@ +diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp +index 35347fe..183fcc2 100644 +--- a/include/jwt/algorithm.hpp ++++ b/include/jwt/algorithm.hpp +@@ -484,7 +484,7 @@ public: + { + std::error_code ec{}; + +- std::string ii{data.data(), data.length()}; ++ //std::string ii{data.data(), data.length()}; + + EC_PKEY_uptr pkey{load_key(key, ec), ev_pkey_deletor}; + if (ec) return { std::string{}, ec }; diff --git a/.patch/sirit/0001-libcxx.patch b/.patch/sirit/0001-libcxx.patch new file mode 100644 index 0000000000..a1a05b9734 --- /dev/null +++ b/.patch/sirit/0001-libcxx.patch @@ -0,0 +1,12 @@ +diff --git a/src/stream.h b/src/stream.h +index 31c2680..1b6c0e8 100644 +--- a/src/stream.h ++++ b/src/stream.h +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + + #ifndef __cpp_lib_bit_cast + #include diff --git a/cpmfile.json b/cpmfile.json index 9cac812b7a..890d109289 100644 --- a/cpmfile.json +++ b/cpmfile.json @@ -38,7 +38,8 @@ "CPP_JWT_USE_VENDORED_NLOHMANN_JSON OFF" ], "patches": [ - "0001-fix-missing-decl.patch" + "0001-fix-missing-decl.patch", + "0002-libcxx.patch" ], "repo": "arun11299/cpp-jwt", "version": "7f24eb4c32" @@ -270,6 +271,9 @@ "options": [ "SIRIT_USE_SYSTEM_SPIRV_HEADERS ON" ], + "patches": [ + "0001-libcxx.patch" + ], "repo": "eden-emulator/sirit", "version": "v1.0.5" },