rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / libpeas / patches / 02-lua52.patch
blob259b6d54d6a4718064bd5e4e0fc04af3c10bf706
1 patch to use Lua 5.2 instead of Lua 5.1.
3 Need testing before contribution to upstream.
5 XXX file upstream bug
7 --- libpeas-1.14.0/loaders/lua5.2/resources/peas-lua-compile.lua 2015-06-25 23:41:37.616161175 -0700
8 +++ libpeas-1.14.0/loaders/lua5.2/resources/peas-lua-compile.lua 2015-06-25 23:41:18.975741723 -0700
9 @@ -38,8 +38,8 @@
10 check(err, 'Failed to open file "%s"', filename)
12 -- Error includes the filename
13 - local compiled, err = loadstring(input_file:read('*a'),
14 - '@' .. filename)
15 + local compiled, err = load(input_file:read('*a'),
16 + '@' .. filename)
17 check(err, 'Invalid Lua file')
19 local f, err = io.open(output, 'wb')