https://bugs.freedesktop.org/show_bug.cgi?id=72580
--- Comment #1 from desrt <[email protected]> --- Created attachment 90593 --> https://bugs.freedesktop.org/attachment.cgi?id=90593&action=edit [PATCH] Add support for FreeBSD <sys/capability.h> cap_init() and friends are Linux-specific, so only use them if we're on Linux. Add support for FreeBSD capabilities if we find <sys/capability.h> to be available there. Add an #else (not Linux or FreeBSD) case with an #error requesting contributions for other platforms. This patch keeps the cap_init check in configure.ac but removes the error if it fails. This will ensure we link to -lcap if needed, but won't fail for the case that capabilities are part of the core system (as on FreeBSD). We do however, modify the header check to ensure we fail if there is no <sys/capability.h> at all, forcing --without-caps to be explicitly specified to make the failure go away. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
