1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix the build with clang.

This commit is contained in:
Koop Mast 2011-02-28 14:45:34 +00:00
parent b7c3ea0e87
commit cd3455a4cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269999

View File

@ -0,0 +1,20 @@
--- src/pulsecore/svolume_mmx.c.orig 2010-02-20 13:53:25.000000000 +0100
+++ src/pulsecore/svolume_mmx.c 2010-02-20 13:54:22.000000000 +0100
@@ -153,7 +153,7 @@ pa_volume_s16ne_mmx (int16_t *samples, i
"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)
: "rm" ((pa_reg_x86)channels)
: "cc"
);
@@ -229,7 +229,7 @@ pa_volume_s16re_mmx (int16_t *samples, i
"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)
: "rm" ((pa_reg_x86)channels)
: "cc"
);