summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-12-07 17:03:40 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-09 12:37:10 +0000
commit033e4303d35140eb18c9973d3f63e1c8f50d7cd7 (patch)
treec3d52d4e03171992594e3959c93834bfe8fb0518 /meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
parent2c05c868a08516b1fa4156b9d668d8ad1bcd8eae (diff)
downloadpoky-033e4303d35140eb18c9973d3f63e1c8f50d7cd7.tar.gz
pulseaudio: upgrade to version 0.9.21
There is a bug in pulseaudio uptream which uses new instructions on old arm platform. So we keep arm version of pulseaudio unchanged. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch')
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
new file mode 100644
index 0000000000..2969cbaa5a
--- /dev/null
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
@@ -0,0 +1,20 @@
1| fix for more strict syntax compliance in gcc4.x
2| pulsecore/core-util.c: In function 'pa_raise_priority':
3| pulsecore/core-util.c:547: error: label at end of compound statement
4| Signed off: mickey@openmoko.org
5|
6Derived from OE by Dongxiao Xu <dongxiao.xu@intel.com>
7
8Index: pulseaudio-0.9.6/src/pulsecore/core-util.c
9===================================================================
10--- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c
11+++ pulseaudio-0.9.6/src/pulsecore/core-util.c
12@@ -535,7 +535,7 @@ void pa_raise_priority(void) {
13 pa_log_info("Successfully gained high priority class.");
14 #endif
15
16-fail:
17+fail:;
18
19 #if defined(HAVE_SYS_CAPABILITY_H)
20 if (caps) {