summaryrefslogtreecommitdiff
path: root/packages/pulseaudio/files/gcc4-compile-fix.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-13 17:29:54 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-13 17:29:54 +0000
commit3ddc7888534e1c11c5a64b67aa2276f1baa57811 (patch)
tree32a4c7e8daa797cf3f1c1bbb5c88a62a89ac75c3 /packages/pulseaudio/files/gcc4-compile-fix.patch
parentfdcc51a356e836eddab6e14a02d92ab20050a1d5 (diff)
pulseaudio: beautify pulse.inc, add gcc4 compliance patch, make 0.9.6 the new default
Diffstat (limited to 'packages/pulseaudio/files/gcc4-compile-fix.patch')
-rw-r--r--packages/pulseaudio/files/gcc4-compile-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/pulseaudio/files/gcc4-compile-fix.patch b/packages/pulseaudio/files/gcc4-compile-fix.patch
new file mode 100644
index 0000000000..34ad026e4d
--- /dev/null
+++ b/packages/pulseaudio/files/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) {