summaryrefslogtreecommitdiff
path: root/recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-02 19:57:52 +0200
committerKoen Kooi <koen@Powerbook-3.local>2009-06-05 17:48:05 +0200
commit021a71d29aa31b4e8fc912d085f41a34faa427b2 (patch)
treeb1f84f38ae93b448c053305797f0aa339e611fb8 /recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch
parent1d4eba778c2ac6f04043321c866b332eff6101fe (diff)
pulseaudio: add 0.9.15, sync with poky
Diffstat (limited to 'recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch')
-rw-r--r--recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch b/recipes/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch
new file mode 100644
index 0000000000..34ad026e4d
--- /dev/null
+++ b/recipes/pulseaudio/pulseaudio-0.9.15/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) {