aboutsummaryrefslogtreecommitdiff
path: root/.patch/cpp-jwt/0001-fix-missing-decl.patch
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2026-01-30 20:11:03 +0100
committercrueter <crueter@eden-emu.dev>2026-01-30 20:11:03 +0100
commit2b7b44c3e4e8b6c1d1bf695c789259f26ee298ed (patch)
tree7529b78e2b4a1036554c3cab6d709b07643fee34 /.patch/cpp-jwt/0001-fix-missing-decl.patch
parent385b7cad77c3546082087c3993a3944c2050dd15 (diff)
[externals] Use patches for spirv-tools, cpp-jwt, and opus instead of forks (#3430)
oops Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3430 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to '.patch/cpp-jwt/0001-fix-missing-decl.patch')
-rw-r--r--.patch/cpp-jwt/0001-fix-missing-decl.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/.patch/cpp-jwt/0001-fix-missing-decl.patch b/.patch/cpp-jwt/0001-fix-missing-decl.patch
new file mode 100644
index 0000000000..a22476f013
--- /dev/null
+++ b/.patch/cpp-jwt/0001-fix-missing-decl.patch
@@ -0,0 +1,25 @@
+From ce992811fe8eb5ea7ad37e5b255bfecb0c313928 Mon Sep 17 00:00:00 2001
+From: crueter <crueter@crueter.xyz>
+Date: Sun, 7 Sep 2025 23:43:57 -0400
+Subject: [PATCH] [algorithm] fix missing declaration error
+
+Projects with restrictive error options won't compile without this
+
+Signed-off-by: crueter <crueter@crueter.xyz>
+---
+ include/jwt/algorithm.hpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp
+index 0e3b843..35347fe 100644
+--- a/include/jwt/algorithm.hpp
++++ b/include/jwt/algorithm.hpp
+@@ -63,6 +63,8 @@ using sign_func_t = sign_result_t (*) (const jwt::string_view key,
+ using verify_func_t = verify_result_t (*) (const jwt::string_view key,
+ const jwt::string_view head,
+ const jwt::string_view jwt_sign);
++
++verify_result_t is_secret_a_public_key(const jwt::string_view secret);
+
+ namespace algo {
+