[Buildroot] [PATCH 1/1] package/ogre: fix build on musl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Aug 8 21:14:28 UTC 2021


On Sat,  7 Aug 2021 17:57:04 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following build failure on musl raised since the addition of the
> package in commit eb91fa730c5d92202c38514345e86315e138944c:
> 
> /tmp/instance-1/output-1/build/ogre-1.12.0/OgreMain/src/OgreStringConverter.cpp: In static member function 'static bool Ogre::StringConverter::parse(const String&, Ogre::int32&)':
> /tmp/instance-1/output-1/build/ogre-1.12.0/OgreMain/src/OgreStringConverter.cpp:253:22: error: 'strtol_l' was not declared in this scope; did you mean 'strtold_l'?
>   253 |         ret = (int32)strtol_l(val.c_str(), &end, 0, _numLocale);
>       |                      ^~~~~~~~
>       |                      strtold_l
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/491f89e45610a7752c0700ac02b80a92b7876ec3
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  .../0002-Checks-for-strtol_l-function.patch   | 71 +++++++++++++++++++
>  1 file changed, 71 insertions(+)
>  create mode 100644 package/ogre/0002-Checks-for-strtol_l-function.patch

Applied to master, thanks.

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


More information about the buildroot mailing list