aboutsummaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-04-22 15:11:27 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-04-22 15:11:27 +0000
commit8e99fc00fbd6c9d04dd7c50787c513a0feb0443c (patch)
tree722d73fc92978a2913a9d99e639341b5404be86f /audio/pulseaudio
parent069ea1ea2890e2baffa49bd8ef9deeb5e0076028 (diff)
downloadports-8e99fc00fbd6c9d04dd7c50787c513a0feb0443c.tar.gz
ports-8e99fc00fbd6c9d04dd7c50787c513a0feb0443c.zip
Notes
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_svolume_mmx.c18
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_svolume_sse.c20
2 files changed, 32 insertions, 6 deletions
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_svolume_mmx.c b/audio/pulseaudio/files/patch-src_pulsecore_svolume_mmx.c
index cda65405d126..99d2f5d37135 100644
--- a/audio/pulseaudio/files/patch-src_pulsecore_svolume_mmx.c
+++ b/audio/pulseaudio/files/patch-src_pulsecore_svolume_mmx.c
@@ -1,20 +1,26 @@
---- src/pulsecore/svolume_mmx.c.orig 2011-06-23 17:18:54.484125000 -0300
-+++ src/pulsecore/svolume_mmx.c 2012-01-04 23:36:03.000000000 -0200
-@@ -154,7 +154,7 @@
+--- src/pulsecore/svolume_mmx.c.orig 2011-06-23 20:18:54.484125000 +0000
++++ src/pulsecore/svolume_mmx.c 2013-04-18 09:22:42.000000000 +0000
+@@ -154,9 +154,9 @@
"6: \n\t"
" emms \n\t"
- : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp)
+ : "+r" (samples), "+r" (volumes), "+r" (length), "=D" (channel), "=&r" (temp)
#if defined (__i386__)
- : "m" ((pa_reg_x86)channels)
+- : "m" ((pa_reg_x86)channels)
++ : "m" (channels)
#else
-@@ -235,7 +235,7 @@
+ : "r" ((pa_reg_x86)channels)
+ #endif
+@@ -235,9 +235,9 @@
"6: \n\t"
" emms \n\t"
- : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp)
+ : "+r" (samples), "+r" (volumes), "+r" (length), "=D" (channel), "=&r" (temp)
#if defined (__i386__)
- : "m" ((pa_reg_x86)channels)
+- : "m" ((pa_reg_x86)channels)
++ : "m" (channels)
#else
+ : "r" ((pa_reg_x86)channels)
+ #endif
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_svolume_sse.c b/audio/pulseaudio/files/patch-src_pulsecore_svolume_sse.c
new file mode 100644
index 000000000000..420389c4e43e
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_svolume_sse.c
@@ -0,0 +1,20 @@
+--- src/pulsecore/svolume_sse.c.orig 2013-04-19 14:02:51.000000000 +0000
++++ src/pulsecore/svolume_sse.c 2013-04-19 14:03:14.000000000 +0000
+@@ -155,7 +155,7 @@
+
+ : "+r" (samples), "+r" (volumes), "+r" (length), "=D" (channel), "=&r" (temp)
+ #if defined (__i386__)
+- : "m" ((pa_reg_x86)channels)
++ : "m" (channels)
+ #else
+ : "r" ((pa_reg_x86)channels)
+ #endif
+@@ -249,7 +249,7 @@
+
+ : "+r" (samples), "+r" (volumes), "+r" (length), "=D" (channel), "=&r" (temp)
+ #if defined (__i386__)
+- : "m" ((pa_reg_x86)channels)
++ : "m" (channels)
+ #else
+ : "r" ((pa_reg_x86)channels)
+ #endif