[SerialICE] New patch to review for serialice: lua: Fix build with lua 5.3

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Mon Jul 6 19:53:03 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10812

-gerrit

commit 221fee9a6df114ee9153c42f85e56886d8445b14
Author: Patrick Georgi <pgeorgi at google.com>
Date:   Mon Jul 6 19:52:22 2015 +0200

    lua: Fix build with lua 5.3
    
    Lua's API changed between 5.2 and 5.3, so turn on compatibility.
    
    Change-Id: I3f96198cbe75858120a2e874fee0e63fe03d183a
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 qemu-0.15.x/serialice-lua.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-0.15.x/serialice-lua.c b/qemu-0.15.x/serialice-lua.c
index cdf3e25..f6c4c31 100644
--- a/qemu-0.15.x/serialice-lua.c
+++ b/qemu-0.15.x/serialice-lua.c
@@ -32,6 +32,7 @@
 #include <string.h>
 
 /* LUA includes */
+#define LUA_COMPAT_5_2
 #include <lua.h>
 #include <lauxlib.h>
 #include <lualib.h>



More information about the SerialICE mailing list