svn commit: r391732 - in head/multimedia/vlc: . files
Juergen Lock
nox at FreeBSD.org
Sat Jul 11 11:22:48 UTC 2015
Author: nox
Date: Sat Jul 11 11:22:46 2015
New Revision: 391732
URL: https://svnweb.freebsd.org/changeset/ports/391732
Log:
- Update to compile with Lua 5.3 support.
- Bump PORTREVISION.
PR: 201470
Submitted by: milios at ccsys.com
Added:
head/multimedia/vlc/files/patch-modules-lua-vlc.h (contents, props changed)
head/multimedia/vlc/files/patch-share-lua-intf-cli.lua (contents, props changed)
Modified:
head/multimedia/vlc/Makefile
Modified: head/multimedia/vlc/Makefile
==============================================================================
--- head/multimedia/vlc/Makefile Sat Jul 11 10:14:05 2015 (r391731)
+++ head/multimedia/vlc/Makefile Sat Jul 11 11:22:46 2015 (r391732)
@@ -3,7 +3,7 @@
PORTNAME= vlc
DISTVERSION= 2.2.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 4
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
Added: head/multimedia/vlc/files/patch-modules-lua-vlc.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/vlc/files/patch-modules-lua-vlc.h Sat Jul 11 11:22:46 2015 (r391732)
@@ -0,0 +1,10 @@
+--- modules/lua/vlc.h.orig 2015-07-11 03:08:07.625881252 +0000
++++ modules/lua/vlc.h 2015-07-11 03:08:25.711881262 +0000
+@@ -38,6 +38,7 @@
+ #include <vlc_stream.h>
+ #include <vlc_demux.h>
+
++#define LUA_COMPAT_APIINTCASTS
+ #define LUA_COMPAT_MODULE
+ #include <lua.h> /* Low level lua C API */
+ #include <lauxlib.h> /* Higher level C API */
Added: head/multimedia/vlc/files/patch-share-lua-intf-cli.lua
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/vlc/files/patch-share-lua-intf-cli.lua Sat Jul 11 11:22:46 2015 (r391732)
@@ -0,0 +1,11 @@
+--- share/lua/intf/cli.lua.orig 2015-07-11 02:39:34.126886159 +0000
++++ share/lua/intf/cli.lua 2015-07-11 02:54:46.665888389 +0000
+@@ -343,7 +343,7 @@
+ end
+ if val.args then str = str .. " " .. val.args end
+ if #str%2 == 1 then str = str .. " " end
+- str = str .. string.rep(" .",(width-(#str+#val.help)-1)/2)
++ str = str .. string.rep(" .",math.floor((width-(#str+#val.help)-1)/2))
+ str = str .. string.rep(" ",width-#str-#val.help) .. val.help
+ end
+ client:append(str)
More information about the svn-ports-all
mailing list