summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2009-11-27 17:48:13 +0000
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-11-27 17:59:41 +0000
commit0e0de60f4443c143fa92068932722f5d75b0999b (patch)
treee315a45228ca659a197585bcfc435923242425a8 /recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
parenta5e4a8b36a9d0bb3f7a20b8a6e71ecc17e6823e4 (diff)
pulseaudio: add version 0.9.21
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch')
-rw-r--r--recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch b/recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
new file mode 100644
index 0000000000..34ad026e4d
--- /dev/null
+++ b/recipes/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
@@ -0,0 +1,18 @@
+| fix for more strict syntax compliance in gcc4.x
+| pulsecore/core-util.c: In function 'pa_raise_priority':
+| pulsecore/core-util.c:547: error: label at end of compound statement
+| Signed off: mickey@openmoko.org
+|
+Index: pulseaudio-0.9.6/src/pulsecore/core-util.c
+===================================================================
+--- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c
++++ pulseaudio-0.9.6/src/pulsecore/core-util.c
+@@ -535,7 +535,7 @@ void pa_raise_priority(void) {
+ pa_log_info("Successfully gained high priority class.");
+ #endif
+
+-fail:
++fail:;
+
+ #if defined(HAVE_SYS_CAPABILITY_H)
+ if (caps) {