[Buildroot] [PATCH] package/opentyrian: fix build on bfin

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Feb 20 08:24:25 UTC 2015


Dear Romain Naour,

On Fri, 20 Feb 2015 01:00:38 +0100, Romain Naour wrote:
> There is a conflict with the _strchrnul symbole from mingw_fixes.c
> and the one from uClibc.
> 
> Add a guard around strchrnul function for unix systems.
> 
> Fixes:
> http://autobuild.buildroot.net/results/a08/a085fb55269971e3c7b8ae8c167e7330c3c042a5/
> 
> Signed-off-by: Romain Naour <romain.naour at openwide.fr>
> ---
>  ...-don-t-redefine-strchrnul-for-unix-system.patch | 42 ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 package/opentyrian/0001-mingw_fixes-don-t-redefine-strchrnul-for-unix-system.patch

Applied to master, thanks.

Though one may wonder why this mingw_fixes.c file gets compiled at all
on Unix platforms. Maybe this is what should be fixed instead :)

Seems like Opentyrian is still active upstream:
https://code.google.com/p/opentyrian/source/list.

Best regards,

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


More information about the buildroot mailing list