Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 824567 Details for
Bug 504876
media-libs/libquvi media-libs/libquvi-scripts - add luajit support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this patch is required for lua version 5.4 build...
libquvi-0.9.4-luaL_setfuncs.patch (text/plain), 1.98 KB, created by
Jocelyn Mayer
on 2022-10-17 10:15:58 UTC
(
hide
)
Description:
this patch is required for lua version 5.4 build...
Filename:
MIME Type:
Creator:
Jocelyn Mayer
Created:
2022-10-17 10:15:58 UTC
Size:
1.98 KB
patch
obsolete
>--- libquvi-0.9.4/src/lua/init.c 2013-11-04 13:55:26.000000000 +0100 >+++ libquvi-0.9.4/src/lua/init.c 2021-07-17 09:04:30.968009177 +0200 >@@ -43,11 +43,11 @@ static const luaL_Reg quvi_reg_meth[] = > > static const luaL_Reg quvi_http_reg_meth[] = > { >- {"metainfo", l_quvi_http_metainfo}, >- {"resolve", l_quvi_http_resolve}, >- {"cookie", l_quvi_http_cookie}, >- {"header", l_quvi_http_header}, >- {"fetch", l_quvi_http_fetch}, >+ {"quvi.http.metainfo", l_quvi_http_metainfo}, >+ {"quvi.http.resolve", l_quvi_http_resolve}, >+ {"quvi.http.cookie", l_quvi_http_cookie}, >+ {"quvi.http.header", l_quvi_http_header}, >+ {"quvi.http.fetch", l_quvi_http_fetch}, > {NULL, NULL} > }; > >@@ -57,9 +57,9 @@ extern gint l_quvi_crypto_hash(lua_State > > static const luaL_Reg quvi_crypto_reg_meth[] = > { >- {"encrypt", l_quvi_crypto_encrypt}, >- {"decrypt", l_quvi_crypto_decrypt}, >- {"hash", l_quvi_crypto_hash}, >+ {"quvi.crypto.encrypt", l_quvi_crypto_encrypt}, >+ {"quvi.crypto.decrypt", l_quvi_crypto_decrypt}, >+ {"quvi.crypto.hash", l_quvi_crypto_hash}, > {NULL, NULL} > }; > >@@ -68,8 +68,8 @@ extern gint l_quvi_base64_decode(lua_Sta > > static const luaL_Reg quvi_base64_reg_meth[] = > { >- {"encode", l_quvi_base64_encode}, >- {"decode", l_quvi_base64_decode}, >+ {"quvi.base64.encode", l_quvi_base64_encode}, >+ {"quvi.base64.decode", l_quvi_base64_decode}, > {NULL, NULL} > }; > >@@ -80,10 +80,10 @@ QuviError l_init(_quvi_t q) > return (QUVI_ERROR_LUA_INIT); > > luaL_openlibs(q->handle.lua); >- 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); >+ luaL_setfuncs(q->handle.lua, quvi_reg_meth, 0); >+ luaL_setfuncs(q->handle.lua, quvi_http_reg_meth, 5); >+ luaL_setfuncs(q->handle.lua, quvi_crypto_reg_meth, 3); >+ luaL_setfuncs(q->handle.lua, quvi_base64_reg_meth, 2); > > return (QUVI_OK); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 504876
:
824567
|
845563
|
845565