diff options
author | Booloki | 2021-05-10 14:35:28 +0200 |
---|---|---|
committer | Booloki | 2021-05-10 14:35:28 +0200 |
commit | 393af9a959c8d1c75d9a4108c0dfc96e1a9ba849 (patch) | |
tree | 18fb84a2ade14d5fbc5e97d0f2301bd52f330a08 /lua53_compat.patch | |
parent | df3f952af5c0e967acd6847d85aa7f2b34e439cc (diff) | |
download | aur-393af9a959c8d1c75d9a4108c0dfc96e1a9ba849.tar.gz |
Update to version 3.0.13 with patch
Diffstat (limited to 'lua53_compat.patch')
-rw-r--r-- | lua53_compat.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lua53_compat.patch b/lua53_compat.patch deleted file mode 100644 index aeff7b2fd778..000000000000 --- a/lua53_compat.patch +++ /dev/null @@ -1,30 +0,0 @@ -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 */ |