projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac599c
)
caps: Don't require --without-caps on FreeBSD
author
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Sun, 26 Jan 2014 14:41:29 +0000
(16:41 +0200)
committer
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Sun, 26 Jan 2014 14:41:29 +0000
(16:41 +0200)
BugLink:
https://bugs.freedesktop.org/show_bug.cgi?id=72580
src/daemon/caps.c
patch
|
blob
|
history
diff --git
a/src/daemon/caps.c
b/src/daemon/caps.c
index
9540f06
..
669d6e2
100644
(file)
--- a/
src/daemon/caps.c
+++ b/
src/daemon/caps.c
@@
-86,6
+86,9
@@
void pa_drop_caps(void) {
pa_assert_se(cap_clear(caps) == 0);
pa_assert_se(cap_set_proc(caps) == 0);
pa_assert_se(cap_free(caps) == 0);
+#elif defined(__FreeBSD__)
+ /* FreeBSD doesn't have this functionality, even though sys/capability.h is
+ * available. See https://bugs.freedesktop.org/show_bug.cgi?id=73967 */
#else
#error "Don't know how to do capabilities on your system. Please send a patch."
#endif /* __linux__ */