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>
Fri, 23 Nov 2018 10:10:51 +0000 (11:10 +0100)
commit6239dee485aceacdbb9937da126bf71bf1293495
tree5e9715b1cdb8a04ffa44c39353b56f003fe98fb6
parentaabd7f6ad02a3c533fc7dbb549102b2c47887360
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]