svn commit: r313775 - head/audio/pulseaudio/files

Koop Mast kwm at FreeBSD.org
Sat Mar 9 23:06:17 UTC 2013


Author: kwm
Date: Sat Mar  9 23:06:17 2013
New Revision: 313775
URL: http://svnweb.freebsd.org/changeset/ports/313775

Log:
  Make pulseaudio compile on the arm platform.
  
  PR:		ports/176794
  Submitted by:	Olivier Cochard-Labbe <olivier at cochard.me>

Added:
  head/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c   (contents, props changed)

Added: head/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/pulseaudio/files/patch-src_pulsecore_cpu-arm.c	Sat Mar  9 23:06:17 2013	(r313775)
@@ -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. */


More information about the svn-ports-all mailing list