[vlc-devel] [PATCH 0/3] Lua 5.2 compatibility patches (version 2).
Kelly Anderson
kelly at silka.with-linux.com
Thu Jan 5 14:23:34 CET 2012
*** BLURB HERE ***
Here are the patches for Lua 5.2 compatibility.
As I mentioned (when I submitted the first set of patches)
luac will error in the compile without renaming goto.
I chose to rename it gotoitem, since that was what
the comment said at then end of the line.
Kelly Anderson (3):
Cleanup lua script escape sequences for lua 5.2. Converting \ to
%, since 5.2 no longer accepts \.
Consolidate lua includes in vlc.h so lua 5.2 compatibility
declarations can be made in one place.
Replace goto with gotoitem. goto is reserved in lua 5.2. luac
will fail to compile the lua source files without this change.
modules/lua/intf.c | 4 ----
modules/lua/libs/acl.c | 3 ---
modules/lua/libs/configuration.c | 3 ---
modules/lua/libs/dialog.c | 3 ---
modules/lua/libs/equalizer.c | 3 ---
modules/lua/libs/gettext.c | 4 ----
modules/lua/libs/httpd.c | 4 ----
modules/lua/libs/input.c | 4 +---
modules/lua/libs/input.h | 2 ++
modules/lua/libs/messages.c | 4 ----
modules/lua/libs/misc.c | 4 ----
modules/lua/libs/net.c | 3 ---
modules/lua/libs/objects.c | 3 ---
modules/lua/libs/osd.c | 3 ---
modules/lua/libs/playlist.c | 7 ++-----
modules/lua/libs/sd.c | 4 ----
modules/lua/libs/stream.c | 3 ---
modules/lua/libs/strings.c | 3 ---
modules/lua/libs/variables.c | 4 ----
modules/lua/libs/video.c | 3 ---
modules/lua/libs/vlm.c | 3 ---
modules/lua/libs/volume.c | 4 ----
modules/lua/libs/xml.c | 3 ---
modules/lua/vlc.c | 4 ----
modules/lua/vlc.h | 6 ++++++
share/lua/extensions/imdb.lua | 2 +-
share/lua/intf/cli.lua | 2 +-
share/lua/intf/modules/httprequests.lua | 4 ++--
share/lua/playlist/appletrailers.lua | 6 +++---
share/lua/playlist/extreme.lua | 10 +++++-----
share/lua/playlist/katsomo.lua | 2 +-
share/lua/playlist/mpora.lua | 4 ++--
share/lua/playlist/pinkbike.lua | 4 ++--
33 files changed, 28 insertions(+), 97 deletions(-)
--
1.7.8.2
More information about the vlc-devel
mailing list