View | Details | Raw Unified | Return to bug 201470
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	vlc
4
PORTNAME=	vlc
5
DISTVERSION=	2.2.1
5
DISTVERSION=	2.2.1
6
PORTREVISION=	2
6
PORTREVISION=	3
7
PORTEPOCH=	4
7
PORTEPOCH=	4
8
CATEGORIES=	multimedia audio ipv6 net www
8
CATEGORIES=	multimedia audio ipv6 net www
9
MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
9
MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
(-)files/patch-modules-lua-vlc.h (+10 lines)
Line 0 Link Here
1
--- modules/lua/vlc.h.orig	2015-07-11 03:08:07.625881252 +0000
2
+++ modules/lua/vlc.h	2015-07-11 03:08:25.711881262 +0000
3
@@ -38,6 +38,7 @@
4
 #include <vlc_stream.h>
5
 #include <vlc_demux.h>
6
 
7
+#define LUA_COMPAT_APIINTCASTS
8
 #define LUA_COMPAT_MODULE
9
 #include <lua.h>        /* Low level lua C API */
10
 #include <lauxlib.h>    /* Higher level C API */
(-)files/patch-share-lua-intf-cli.lua (+11 lines)
Line 0 Link Here
1
--- share/lua/intf/cli.lua.orig	2015-07-11 02:39:34.126886159 +0000
2
+++ share/lua/intf/cli.lua	2015-07-11 02:54:46.665888389 +0000
3
@@ -343,7 +343,7 @@
4
                 end
5
                 if val.args then str = str .. " " .. val.args end
6
                 if #str%2 == 1 then str = str .. " " end
7
-                str = str .. string.rep(" .",(width-(#str+#val.help)-1)/2)
8
+                str = str .. string.rep(" .",math.floor((width-(#str+#val.help)-1)/2))
9
                 str = str .. string.rep(" ",width-#str-#val.help) .. val.help
10
             end
11
             client:append(str)

Return to bug 201470