package/luv: add patch to fix build issue with luvi
authorJörg Krause <joerg.krause@embedded.rocks>
Thu, 15 Nov 2018 19:28:45 +0000 (20:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 19 Nov 2018 21:23:28 +0000 (22:23 +0100)
commit6f9887a9d38e2cbd29e1518e90f833f05ab7017f
tree1a5c1cd650e0214cc281e5e459bf4fcadd0b714e
parent28b725d27eaa1f3cdc21b58aa870b40e2d425665
package/luv: add patch to fix build issue with luvi

Add a patch to fix a build issue with luvi after bumping luv from
version 1.9.1 to 1.22.0.

The problem is that luv now uses lua-compat-5.3 instead of defining the
Lua 5.3 API itself. Unfortunately, luv.h now includes compat-5.3.h in the
header file, which causes the build issue with luvi, as luvi does not
find this local header file. Note, that luv ships lua-compat-5.3 as a
dependency.

Therefore, the patch includes compat-5.3.h in the source file luv.c, so
it isn't exposed to external programs.

Fixes:
http://autobuild.buildroot.net/results/2244cd30986aff29b763fb7183f6fc27a82bd7fa
http://autobuild.buildroot.net/results/01938f7f018dc69d564c22489933647b1daf62f3
http://autobuild.buildroot.net/results/8217e863c2776d299cb90b90f1a2ed8233ec82ba
.. and many more

Note, that fixing this issue reveals another issue in luvi, which is
fixed by the follow up patch.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/luv/0001-Do-not-include-compat-5.3.h-in-luv-header-file.patch [new file with mode: 0644]