Index: head/multimedia/libquvi09/Makefile =================================================================== --- head/multimedia/libquvi09/Makefile (revision 457521) +++ head/multimedia/libquvi09/Makefile (revision 457522) @@ -1,36 +1,36 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= libquvi PORTVERSION= 0.9.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia devel MASTER_SITES= SF/quvi/${PORTVERSION:R}/${PORTNAME}/ PKGNAMESUFFIX= 09 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Cross-platform library for parsing flash media stream URLs LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= libquvi-scripts09>=0.9:multimedia/libquvi-scripts09 LIB_DEPENDS= libcurl.so:ftp/curl \ libproxy.so:net/libproxy \ libgcrypt.so:security/libgcrypt RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= DOCS CONFIGURE_ARGS= --program-suffix=${PKGNAMESUFFIX} GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_GNOME= glib20 USES= gnome iconv libtool lua pathfix pkgconfig tar:xz PLIST_SUB= PKGNAMESUFFIX=${PKGNAMESUFFIX} PORTVERSION=${PORTVERSION} QUVIVERSION=${PORTVERSION:R} post-patch: @${REINPLACE_CMD} 's/lua-5.1/lua-${LUA_VER}/g' ${WRKSRC}/configure .include Index: head/multimedia/libquvi09/files/patch-src-lua-init.c =================================================================== --- head/multimedia/libquvi09/files/patch-src-lua-init.c (nonexistent) +++ head/multimedia/libquvi09/files/patch-src-lua-init.c (revision 457522) @@ -0,0 +1,20 @@ +--- src/lua/init.c.orig ++++ 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: head/multimedia/libquvi09/files/patch-src-lua-init.c ___________________________________________________________________ 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