Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP4:Update
libquvi
libquvi-0.9.4-lua-5.2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libquvi-0.9.4-lua-5.2.patch of Package libquvi
Index: libquvi-0.9.4/src/lua/init.c =================================================================== --- libquvi-0.9.4.orig/src/lua/init.c +++ libquvi-0.9.4/src/lua/init.c @@ -80,10 +80,17 @@ QuviError l_init(_quvi_t q) return (QUVI_ERROR_LUA_INIT); luaL_openlibs(q->handle.lua); +#if LUA_VERSION_NM < 502 luaL_register(q->handle.lua, "quvi", quvi_reg_meth); luaL_register(q->handle.lua, "quvi.http", quvi_http_reg_meth); luaL_register(q->handle.lua, "quvi.crypto", quvi_crypto_reg_meth); luaL_register(q->handle.lua, "quvi.base64", quvi_base64_reg_meth); +#else + luaL_newlib(q->handle.lua, quvi_reg_meth); + luaL_newlib(q->handle.lua, quvi_http_reg_meth); + luaL_newlib(q->handle.lua, quvi_crypto_reg_meth); + luaL_newlib(q->handle.lua, quvi_base64_reg_meth); +#endif return (QUVI_OK); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor