Summary: | graphics/mesa needs _GNU_SOURCE in strtod.c | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jesper Schmitz Mouridsen <jsm> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | arrowd, x11, zeising | ||||
Priority: | --- | Flags: | zeising:
maintainer-feedback+
zeising: merge-quarterly+ |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 237662 | ||||||
Attachments: |
|
Description
Jesper Schmitz Mouridsen
![]() ![]() Wow, nice find! But the bug should be reported upstream, I think? (In reply to Gleb Popov from comment #1) reported upstream as https://gitlab.freedesktop.org/mesa/mesa/issues/2008 Nice find indeed! I'll try to create a patch against our current version of mesa for you to test. Created attachment 208658 [details]
v1
Hi!
Can you try the attached patch?
Apply it against the ports tree, then rebuild and reinstall mesa-dri and mesa-libs.
(In reply to Niclas Zeising from comment #4) Yes, the patch works. A commit references this bug: Author: zeising Date: Wed Oct 30 19:07:33 UTC 2019 New revision: 516100 URL: https://svnweb.freebsd.org/changeset/ports/516100 Log: graphics/mesa: Add -D_GNU_SOURCE to compile flags Add -D_GNU_SOURCE to compile flags when building on FreeBSD. This is needed to have mesa work with various locales, that for instance use , instead of . as a decmal separator. Bump portrevision on all mesa related ports. PR: 241506 Reported by: Jesper Schmitz Mouridsen MFH: 2019Q4 Changes: head/graphics/libosmesa/Makefile head/graphics/libxatracker/Makefile head/graphics/mesa-dri/Makefile head/graphics/mesa-dri/files/patch-configure head/graphics/mesa-libs/Makefile head/lang/clover/Makefile Waiting for MFH approval. A commit references this bug: Author: zeising Date: Thu Oct 31 18:59:04 UTC 2019 New revision: 516189 URL: https://svnweb.freebsd.org/changeset/ports/516189 Log: MFH: r516100 graphics/mesa: Add -D_GNU_SOURCE to compile flags Add -D_GNU_SOURCE to compile flags when building on FreeBSD. This is needed to have mesa work with various locales, that for instance use , instead of . as a decmal separator. Bump portrevision on all mesa related ports. PR: 241506 Reported by: Jesper Schmitz Mouridsen Approved by: ports-secteam (joenum) Changes: _U branches/2019Q4/ branches/2019Q4/graphics/libosmesa/Makefile branches/2019Q4/graphics/libxatracker/Makefile branches/2019Q4/graphics/mesa-dri/Makefile branches/2019Q4/graphics/mesa-dri/files/patch-configure branches/2019Q4/graphics/mesa-libs/Makefile branches/2019Q4/lang/clover/Makefile Merged. Thanks for the nice catch! |