diff options
Diffstat (limited to 'meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch')
-rw-r--r-- | meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch new file mode 100644 index 0000000000..34ad026e4d --- /dev/null +++ b/meta/recipes-tbd/pulseaudio/pulseaudio-0.9.15/gcc4-compile-fix.patch | |||
@@ -0,0 +1,18 @@ | |||
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 | | | ||
6 | Index: pulseaudio-0.9.6/src/pulsecore/core-util.c | ||
7 | =================================================================== | ||
8 | --- pulseaudio-0.9.6.orig/src/pulsecore/core-util.c | ||
9 | +++ pulseaudio-0.9.6/src/pulsecore/core-util.c | ||
10 | @@ -535,7 +535,7 @@ void pa_raise_priority(void) { | ||
11 | pa_log_info("Successfully gained high priority class."); | ||
12 | #endif | ||
13 | |||
14 | -fail: | ||
15 | +fail:; | ||
16 | |||
17 | #if defined(HAVE_SYS_CAPABILITY_H) | ||
18 | if (caps) { | ||