From: Rosen Penev Date: Wed, 7 Jul 2021 04:03:26 +0000 (-0700) Subject: libuwsc: fix compilation with GCC11 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0ed3e8f3730fc6491030048977a4903ba3a8b959;p=openwrt-packages.git libuwsc: fix compilation with GCC11 Bad if identation is now an error. Signed-off-by: Rosen Penev --- 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)