[pulseaudio-tickets] [Bug 85319] PulseAudio fails to build on musl libc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 4 13:05:03 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=85319

Vladimir <vladimir at vladimir.lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Vladimir <vladimir at vladimir.lu> ---
No need to confirm I think - the POSIX specification specifies the ioctl(int,
int, ...) prototype:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/ioctl.html (previous
versions also have the same, just linking to the latest one). So this is yet
another instance of glibc being glibc...

For ioctl specifically, the current `#ifdef sun` can probably be changed to
check _XOPEN_SOURCE >= 500 (or similar, I have not tried it and instead patched
it directly).

I will have a build of pulseaudio 6.0 to test soon on my desktop which I will
test and report with any further issues.

By the way, what was the reasoning behind reusing the system stat/open/ioctl
function names in padsp.c specifically - I see that there are functions like
pa_fopen_* already defined elsewhere?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150404/e54cbbe6/attachment.html>


More information about the pulseaudio-bugs mailing list