Compare commits

..

2 Commits

Author SHA1 Message Date
lizzie 4ce7ef78c0 fixup! [cpm] sirit+jwt fixes for clang24 2026-10-08 16:37:30 +00:00
lizzie 0e8c88022b [cpm] sirit+jwt fixes for clang24
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2026-10-08 16:37:20 +00:00
4 changed files with 31 additions and 5 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"
},
@@ -1,6 +1,3 @@
# SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: 2020 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
@@ -31,5 +28,5 @@ endforeach()
STRING(REGEX REPLACE "{{SEMICOLON}}" ";" CONTENTS "${CONTENTS}")
get_filename_component(OUTPUT_DIR ${HEADER_FILE} DIRECTORY)
file(MAKE_DIRECTORY ${OUTPUT_DIR})
make_directory(${OUTPUT_DIR})
configure_file(${INPUT_FILE} ${HEADER_FILE} @ONLY)