diff options
author | Solomon Choina | 2017-12-02 18:35:26 -0500 |
---|---|---|
committer | Solomon Choina | 2017-12-02 18:35:26 -0500 |
commit | 2a5c6508b1d1333ab6d4d91f806e91fdd3e260f6 (patch) | |
tree | 54b8803dace88cd643c1d4e19f54e219f39a40ab | |
parent | 912da2dc59b202b6b8e58f4f7913c3af24c634eb (diff) | |
download | aur-2a5c6508b1d1333ab6d4d91f806e91fdd3e260f6.tar.gz |
pkgver update
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | vlc | 30 |
2 files changed, 31 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Nov 30 20:00:17 UTC 2017 +# Sat Dec 2 23:35:14 UTC 2017 pkgbase = vlc-nightly pkgdesc = Multi-platform MPEG, VCD/DVD, and DivX player - nightly snapshot pkgver = 4.0.0v20171130 @@ -0,0 +1,30 @@ +commit 41caaa08cde60c4fec4bf2e5f9610e2a1b9e6a23 +Author: Vinson Lee <vlee@freedesktop.org> +Date: Thu Feb 5 14:48:53 2015 -0800 + + lua: Define LUA_COMPAT_APIINTCASTS for Lua >= 5.3.0 compatibility. + + In Lua 5.3.0, luaL_checkint was deprecated. + + This patch fixes this build error with Lua 5.3.0. + + lua/demux.c: In function ‘vlclua_demux_peek’: + lua/demux.c:55:5: error: implicit declaration of function ‘luaL_checkint’ [-Werror=implicit-function-declaration] + int n = luaL_checkint( L, 1 ); + ^ + + Signed-off-by: Vinson Lee <vlee@freedesktop.org> + Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> + +diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h +index efd94f1..85c7fc1 100644 +--- a/modules/lua/vlc.h ++++ b/modules/lua/vlc.h +@@ -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 */ |