kumquat-buildroot/package/libuwsc/0002-fix-bad-indentation.patch
Fabrice Fontaine e874fd08e0 package/libuwsc: fix wolfssl build
Commit 1567fbd72d didn't fully fix the
wolfssl build failure because the include on wolfssl/options.h was still
missing:

/home/autobuild/autobuild/instance-6/output-1/build/libuwsc-3.3.5/src/ssl.c:62:5: error: unknown type name 'SSL_CTX'
   62 |     SSL_CTX *ctx;
      |     ^~~~~~~

While at it, add upstream tag to patches

Fixes:
 - http://autobuild.buildroot.org/results/edc49cce5b1f456d980841f4c315e7cd784b1561

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-01-15 08:46:17 +01:00

27 lines
814 B
Diff

From 8cb416140741a596235b8acc46b2b119b13ebfab Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Tue, 6 Jul 2021 21:01:52 -0700
Subject: [PATCH] fix bad indentation
Fixes error with GCC11.
Upstream: https://github.com/zhaojh329/libuwsc/commit/8cb416140741a596235b8acc46b2b119b13ebfab
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/lua/uwsc_lua.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lua/uwsc_lua.c b/src/lua/uwsc_lua.c
index de6932e..84689fe 100644
--- a/src/lua/uwsc_lua.c
+++ b/src/lua/uwsc_lua.c
@@ -178,7 +178,7 @@ static int uwsc_lua_on(lua_State *L)
else
luaL_argcheck(L, false, 2, "available event name: open message error close");
- return 0;
+ return 0;
}
static int __uwsc_lua_send(lua_State *L, int op)