From owner-svn-ports-all@freebsd.org Sat Jul 11 11:22:48 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7756B9984AC; Sat, 11 Jul 2015 11:22:48 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7D91CAD; Sat, 11 Jul 2015 11:22:48 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6BBMmDQ023211; Sat, 11 Jul 2015 11:22:48 GMT (envelope-from nox@FreeBSD.org) Received: (from nox@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6BBMlLg023207; Sat, 11 Jul 2015 11:22:47 GMT (envelope-from nox@FreeBSD.org) Message-Id: <201507111122.t6BBMlLg023207@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nox set sender to nox@FreeBSD.org using -f From: Juergen Lock Date: Sat, 11 Jul 2015 11:22:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391732 - in head/multimedia/vlc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2015 11:22:48 -0000 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@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 + #include + ++#define LUA_COMPAT_APIINTCASTS + #define LUA_COMPAT_MODULE + #include /* Low level lua C API */ + #include /* 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)