aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua/lua-bug3-boolean_expression.patch
diff options
context:
space:
mode:
authorFrançois Perrad <francois.perrad@gadz.org>2012-07-14 15:11:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-14 19:13:26 +0200
commit55bdb7d01a563bb64ec057b0cf2e759135efb2f2 (patch)
tree03618c0726a61aa4d3b9d382678ca9a879caa9c9 /package/lua/lua-bug3-boolean_expression.patch
parent830c5868ed96a06007050f6b134e2a9954e88b10 (diff)
downloadbuildroot-novena-55bdb7d01a563bb64ec057b0cf2e759135efb2f2.tar.gz
buildroot-novena-55bdb7d01a563bb64ec057b0cf2e759135efb2f2.zip
lua: bump version to 5.1.5
[thomas.petazzoni@free-electrons.com: rewrote the patch, which was corrupted in the original submission. Used quilt to refresh the Lua patches, so that the version numbers are no longer present in the file names] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua/lua-bug3-boolean_expression.patch')
-rw-r--r--package/lua/lua-bug3-boolean_expression.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/package/lua/lua-bug3-boolean_expression.patch b/package/lua/lua-bug3-boolean_expression.patch
deleted file mode 100644
index f04eb8507..000000000
--- a/package/lua/lua-bug3-boolean_expression.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- lua-5.1.4.orig/src/lcode.c 2007/12/28 15:32:23 2.25.1.3
-+++ lua-5.1.4/src/lcode.c 2009/06/15 14:07:34
-@@ -544,15 +544,18 @@
- pc = NO_JUMP; /* always true; do nothing */
- break;
- }
-- case VFALSE: {
-- pc = luaK_jump(fs); /* always jump */
-- break;
-- }
- case VJMP: {
- invertjump(fs, e);
- pc = e->u.s.info;
- break;
- }
-+ case VFALSE: {
-+ if (!hasjumps(e)) {
-+ pc = luaK_jump(fs); /* always jump */
-+ break;
-+ }
-+ /* else go through */
-+ }
- default: {
- pc = jumponcond(fs, e, 0);
- break;
-@@ -572,14 +575,17 @@
- pc = NO_JUMP; /* always false; do nothing */
- break;
- }
-- case VTRUE: {
-- pc = luaK_jump(fs); /* always jump */
-- break;
-- }
- case VJMP: {
- pc = e->u.s.info;
- break;
- }
-+ case VTRUE: {
-+ if (!hasjumps(e)) {
-+ pc = luaK_jump(fs); /* always jump */
-+ break;
-+ }
-+ /* else go through */
-+ }
- default: {
- pc = jumponcond(fs, e, 1);
- break;
-