[Mesa-stable] [PATCH mesa] util: improve compiler guard

Eric Engestrom eric.engestrom at imgtec.com
Tue Sep 5 09:23:20 UTC 2017


On Monday, 2017-09-04 20:38:30 +0200, Laurent Carlier wrote:
> 2017-08-31 18:54 GMT+02:00 Eric Engestrom <eric.engestrom at imgtec.com>:
> 
> > Glibc 2.26 has dropped xlocale.h, but the functions needed (strtod_l()
> > and strdof_l()) can be found in stdlib.h.
> > Improve the detection method to allow newer builds to still make use of
> > the locale-setting.
> >
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102454
> > Cc: Laurent Carlier <lordheavym at gmail.com>
> > Cc: Emil Velikov <emil.l.velikov at gmail.com>
> > Cc: Rob Herring <robh at kernel.org>
> > Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> > ---
> >
> Maybe also CC mesa-stable/mesa-17.2 ?

Good point, yes.

Emil, I'm nominating 49b428470e28ae6ab220 "util: improve compiler guard",
for the stable branch.

Laurent, with this ^ the patch should be in 17.2.1, but it's too late for
17.2.0, which was published last night (a couple hours before your email).

I think you will need it to build {lib32-,}mesa on Arch if/when glibc 2.26
comes out of [testing], so you'll probably have to carry this patch
alongside the PKGBUILD for this release.

Cheers,
  Eric


More information about the mesa-stable mailing list