[108980] trunk/dports/audio/pulseaudio

jeremyhu at macports.org jeremyhu at macports.org
Mon Aug 5 09:08:01 PDT 2013


Revision: 108980
          https://trac.macports.org/changeset/108980
Author:   jeremyhu at macports.org
Date:     2013-08-05 09:08:01 -0700 (Mon, 05 Aug 2013)
Log Message:
-----------
pulseaudio: Actually add the patch

Added Paths:
-----------
    trunk/dports/audio/pulseaudio/files/
    trunk/dports/audio/pulseaudio/files/no-buggy-i386-asm.patch

Added: trunk/dports/audio/pulseaudio/files/no-buggy-i386-asm.patch
===================================================================
--- trunk/dports/audio/pulseaudio/files/no-buggy-i386-asm.patch	                        (rev 0)
+++ trunk/dports/audio/pulseaudio/files/no-buggy-i386-asm.patch	2013-08-05 16:08:01 UTC (rev 108980)
@@ -0,0 +1,20 @@
+--- src/pulsecore/svolume_mmx.c	2012-09-26 04:27:01.000000000 -0700
++++ src/pulsecore/svolume_mmx.c	2013-08-05 09:03:53.000000000 -0700
+@@ -34,7 +34,7 @@
+ 
+ #include "sample-util.h"
+ 
+-#if defined (__i386__) || defined (__amd64__)
++#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
+ /* in s: 2 int16_t samples
+  * in v: 2 int32_t volumes, fixed point 16:16
+  * out s: contains scaled and clamped int16_t samples.
+@@ -243,7 +243,7 @@ static void pa_volume_s16re_mmx(int16_t 
+ #endif /* defined (__i386__) || defined (__amd64__) */
+ 
+ void pa_volume_func_init_mmx(pa_cpu_x86_flag_t flags) {
+-#if defined (__i386__) || defined (__amd64__)
++#if (defined (__i386__) && !defined(__APPLE__)) || defined (__amd64__)
+     if ((flags & PA_CPU_X86_MMX) && (flags & PA_CPU_X86_CMOV)) {
+         pa_log_info("Initialising MMX optimized volume functions.");
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130805/a91ee372/attachment.html>


More information about the macports-changes mailing list