From a486bc52f692d10fe1d3030c2989d459c0035ec9 Mon Sep 17 00:00:00 2001 From: kwm Date: Sat, 9 Mar 2013 23:06:17 +0000 Subject: Make pulseaudio compile on the arm platform. PR: ports/176794 Submitted by: Olivier Cochard-Labbe --- audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c (limited to 'audio') diff --git a/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c b/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c new file mode 100644 index 000000000000..4e7d9a8fe616 --- /dev/null +++ b/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c @@ -0,0 +1,14 @@ +--- src/pulsecore/cpu-arm.c.orig 2011-06-23 20:18:54.443125000 +0000 ++++ src/pulsecore/cpu-arm.c 2013-03-09 23:00:50.000000000 +0000 +@@ -82,10 +82,10 @@ + + void pa_cpu_init_arm (void) { + #if defined (__arm__) ++ pa_cpu_arm_flag_t flags = 0; + #if defined (__linux__) + char *cpuinfo, *line; + int arch; +- pa_cpu_arm_flag_t flags = 0; + + /* We need to read the CPU flags from /proc/cpuinfo because there is no user + * space support to get the CPU features. This only works on linux AFAIK. */ -- cgit