FreeBSD Bugzilla – Attachment 189169 Details for
Bug 224648
multimedia/libquvi09: unbreak with lua53
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
#ifdef old api calls in favor of new lua52+ interface
libquvi09.diff (text/plain), 1.79 KB, created by
Dima Panov
on 2017-12-28 16:27:55 UTC
(
hide
)
Description:
#ifdef old api calls in favor of new lua52+ interface
Filename:
MIME Type:
Creator:
Dima Panov
Created:
2017-12-28 16:27:55 UTC
Size:
1.79 KB
patch
obsolete
>Index: multimedia/libquvi09/Makefile >=================================================================== >--- multimedia/libquvi09/Makefile (revision 457465) >+++ multimedia/libquvi09/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= libquvi > PORTVERSION= 0.9.4 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= multimedia devel > MASTER_SITES= SF/quvi/${PORTVERSION:R}/${PORTNAME}/ > PKGNAMESUFFIX= 09 >Index: multimedia/libquvi09/files/patch-lua-5.2+ >=================================================================== >--- multimedia/libquvi09/files/patch-lua-5.2+ (nonexistent) >+++ multimedia/libquvi09/files/patch-lua-5.2+ (working copy) >@@ -0,0 +1,22 @@ >+Index: libquvi-0.9.4/src/lua/init.c >+=================================================================== >+--- ./src/lua/init.c >++++ ./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_NUM < 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); >+ } > >Property changes on: multimedia/libquvi09/files/patch-lua-5.2+ >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 224648
: 189169