[Buildroot] [PATCH 1/3] lua-periphery: bump version to 1.0.5, remove dependency on c-periphery

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jul 8 13:19:47 UTC 2015


Dear Vanya Sergeev,

On Wed, 27 May 2015 16:26:11 -0700, Vanya Sergeev wrote:
> The new version of the lua-periphery LuaRocks package handles fetching the
> c-periphery dependency, so that it no longer needs to be cloned during the
> lua-periphery build process. Consequently, this removes the need for selecting
> c-periphery as a package dependency in buildroot and the need for the patches
> that modify lua-periphery to be built against an external c-periphery.
> 
> Signed-off-by: Vanya Sergeev <vsergeev at gmail.com>
> ---
>  ...01-Makefile-don-t-clone-build-c-periphery.patch | 32 --------
>  package/lua-periphery/0002-Fix-include-paths.patch | 89 ----------------------
>  package/lua-periphery/Config.in                    |  1 -
>  package/lua-periphery/lua-periphery.mk             |  4 +-
>  4 files changed, 2 insertions(+), 124 deletions(-)
>  delete mode 100644 package/lua-periphery/0001-Makefile-don-t-clone-build-c-periphery.patch
>  delete mode 100644 package/lua-periphery/0002-Fix-include-paths.patch

I've applied, after fixing the dependency as noticed by Baruch. I also
had to add a patch to make lua-periphery build properly with uClibc:
-std=c99 -D_DEFAULT_SOURCE doesn't work well with uClibc, since it
hides the struct timespec and nanosleep() definitions from <time.h>.
Replaced by -std=gnu99.

See
http://git.buildroot.net/buildroot/commit/?id=bdebcd39025bd6413d920b4993f7f70a94934387

Maybe you should look into this and merge a fix upstream?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list