aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-10 07:06:17 +0800
committerkwm <kwm@FreeBSD.org>2013-03-10 07:06:17 +0800
commita486bc52f692d10fe1d3030c2989d459c0035ec9 (patch)
tree3f1e320b9f9e66678251f7fc49f7362a6d99d2b9 /audio
parent9d763993a14337b066eefa7b9d44256d49f7ed07 (diff)
downloadfreebsd-ports-gnome-a486bc52f692d10fe1d3030c2989d459c0035ec9.tar.gz
freebsd-ports-gnome-a486bc52f692d10fe1d3030c2989d459c0035ec9.tar.zst
freebsd-ports-gnome-a486bc52f692d10fe1d3030c2989d459c0035ec9.zip
Make pulseaudio compile on the arm platform.
PR: ports/176794 Submitted by: Olivier Cochard-Labbe <olivier@cochard.me>
Diffstat (limited to 'audio')
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c14
1 files changed, 14 insertions, 0 deletions
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. */