Summary: | #include <xlocale.h> is missing in src/pulsecore/core-util.c on FreeBSD | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Ting-Wei Lan <lantw44> |
Component: | core | Assignee: | pulseaudio-bugs |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | FreeBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Include xlocale.h only if __FreeBSD__ defined
Include xlocale.h only if existing |
Description
Ting-Wei Lan
2015-05-02 17:36:30 UTC
Thanks for reporting. I sent Jakob's patch to the mailing list (with a related cleanup patch): http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/23571 This patch still doesn't get reviewed after it was posted more than one month ago ... I really hope this patch can be accepted. We have waited for 4 months for this trivial include fix. Tanu's both patches pushed to master now. Breaks compiling with musl as standard library, which has strtod_l but no xlocale.h. Can you make a patch? Created attachment 118635 [details] [review] Include xlocale.h only if __FreeBSD__ defined This should do: Musl doesn't come with a macro to identify itself, so check for the one FreeBSD offers. (In reply to Andreas Reis from comment #7) > Created attachment 118635 [details] [review] [review] > Include xlocale.h only if __FreeBSD__ defined > > This should do: Musl doesn't come with a macro to identify itself, so check > for the one FreeBSD offers. Can you add a check for xlocale.h in configure.ac instead? xlocale.h is not a FreeBSD-specific header. Created attachment 118644 [details] [review] Include xlocale.h only if existing Attachment 118644 [details] works fine on FreeBSD.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.