summaryrefslogtreecommitdiff
path: root/packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch')
-rw-r--r--packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch b/packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch
new file mode 100644
index 0000000000..74ea6ac060
--- /dev/null
+++ b/packages/pulseaudio/pulseaudio-0.9.11/pa-drop-caps-returns-void.patch
@@ -0,0 +1,17 @@
+upstream: http://pulseaudio.org/changeset/2213
+
+Index: pulseaudio-0.9.10/src/daemon/caps.c
+===================================================================
+--- pulseaudio-0.9.10.orig/src/daemon/caps.c 2008-05-03 12:10:26.000000000 +0200
++++ pulseaudio-0.9.10/src/daemon/caps.c 2008-05-03 12:10:30.000000000 +0200
+@@ -131,9 +131,8 @@
+ return 0;
+ }
+
+-int pa_drop_caps(void) {
++void pa_drop_caps(void) {
+ pa_drop_root();
+- return 0;
+ }
+
+ #endif