aboutsummaryrefslogtreecommitdiff
path: root/libs/libuwsc/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-07-06 21:03:26 -0700
committerRosen Penev <rosenp@gmail.com>2021-09-24 21:05:44 -0700
commit0ed3e8f3730fc6491030048977a4903ba3a8b959 (patch)
tree079cb88ce5b921fd9014b1eac1392237423c2232 /libs/libuwsc/patches
parentf151172b424faa35347433d04f1406b0583a9c3a (diff)
libuwsc: fix compilation with GCC11
Bad if identation is now an error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libuwsc/patches')
-rw-r--r--libs/libuwsc/patches/010-gcc11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libuwsc/patches/010-gcc11.patch b/libs/libuwsc/patches/010-gcc11.patch
new file mode 100644
index 000000000..5a1fd5b40
--- /dev/null
+++ b/libs/libuwsc/patches/010-gcc11.patch
@@ -0,0 +1,11 @@
+--- a/src/lua/uwsc_lua.c
++++ b/src/lua/uwsc_lua.c
+@@ -177,7 +177,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)