[Buildroot] [PATCH 1/2] package/luv: add patch to fix build issue with luvi

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Nov 19 21:24:14 UTC 2018


Hello,

On Thu, 15 Nov 2018 20:28:45 +0100, Jörg Krause wrote:
> 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 at embedded.rocks>
> ---
>  ...lude-compat-5.3.h-in-luv-header-file.patch | 62 +++++++++++++++++++
>  1 file changed, 62 insertions(+)
>  create mode 100644 package/luv/0001-Do-not-include-compat-5.3.h-in-luv-header-file.patch

Series applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list