From 0ed3e8f3730fc6491030048977a4903ba3a8b959 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 6 Jul 2021 21:03:26 -0700 Subject: [PATCH] libuwsc: fix compilation with GCC11 Bad if identation is now an error. Signed-off-by: Rosen Penev --- libs/libuwsc/patches/010-gcc11.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libuwsc/patches/010-gcc11.patch 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)