diff options
Diffstat (limited to '0001-lua-Fix-build-using-lua-5.3.patch')
-rw-r--r-- | 0001-lua-Fix-build-using-lua-5.3.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-lua-Fix-build-using-lua-5.3.patch b/0001-lua-Fix-build-using-lua-5.3.patch new file mode 100644 index 000000000000..2be304288ff7 --- /dev/null +++ b/0001-lua-Fix-build-using-lua-5.3.patch @@ -0,0 +1,24 @@ +From 8dc6dcc3c79aef64cc6aa50cbcd769503d9e5b1b Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sat, 24 Feb 2018 01:32:40 +0100 +Subject: [PATCH 1/3] lua: Fix build using lua 5.3 + +--- + modules/lua/vlc.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules/lua/vlc.h b/modules/lua/vlc.h +index 71f381d334..b46b5f67a1 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 */ +-- +2.18.0 + |