[cpm] sirit+jwt fixes for clang24

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-10-08 12:25:50 +00:00
parent 10bcd2d849
commit 0e8c88022b
3 changed files with 30 additions and 1 deletions
+13
View File
@@ -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 };
+12
View File
@@ -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 <variant>
#include <vector>
#include <utility>
+#include <cstdlib>
#ifndef __cpp_lib_bit_cast
#include <cstring>
+5 -1
View File
@@ -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"
},