forked from pool/lua-mpack
osc copypac from project:devel:languages:lua package:lua51-mpack revision:7, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-mpack?expand=0&rev=1
This commit is contained in:
14
lua51-mpack-fix-gcc7.patch
Normal file
14
lua51-mpack-fix-gcc7.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: libmpack-lua-1.0.6/lmpack.c
|
||||
===================================================================
|
||||
--- libmpack-lua-1.0.6.orig/lmpack.c
|
||||
+++ libmpack-lua-1.0.6/lmpack.c
|
||||
@@ -689,6 +689,7 @@ static void lmpack_unparse_enter(mpack_p
|
||||
node->tok = mpack_pack_nil();
|
||||
break;
|
||||
}
|
||||
+ /* Fallthrough */
|
||||
default:
|
||||
luaL_error(L, "can't serialize object");
|
||||
}
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user