Remove a lvalue cast in asm() to fix build with clang.
This commit is contained in:
parent
597b3559a7
commit
4f181eb4fa
2 changed files with 26 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: distinfo,v 1.25 2011/05/21 15:32:59 wiz Exp $
|
$NetBSD: distinfo,v 1.26 2011/07/21 15:10:11 joerg Exp $
|
||||||
|
|
||||||
SHA1 (pulseaudio-0.9.21.tar.gz) = 0309c97f7e0812e243c1bb80a4b74dc26369ac22
|
SHA1 (pulseaudio-0.9.21.tar.gz) = 0309c97f7e0812e243c1bb80a4b74dc26369ac22
|
||||||
RMD160 (pulseaudio-0.9.21.tar.gz) = 6db0725253228b673a78cbfae4824fadce2198ed
|
RMD160 (pulseaudio-0.9.21.tar.gz) = 6db0725253228b673a78cbfae4824fadce2198ed
|
||||||
|
@ -20,3 +20,4 @@ SHA1 (patch-dc) = fe5f8e6eec89ec832d9d161fa0a201e64a841a0c
|
||||||
SHA1 (patch-dd) = bfccd97ecf3be1ae9ac41a642b356743e055550f
|
SHA1 (patch-dd) = bfccd97ecf3be1ae9ac41a642b356743e055550f
|
||||||
SHA1 (patch-de) = 3b8423a5936b8434de22fdd04ff2057dde09a2b8
|
SHA1 (patch-de) = 3b8423a5936b8434de22fdd04ff2057dde09a2b8
|
||||||
SHA1 (patch-poll_c-build-fix) = f9a2e86275431c53257c596974a6973c8034b1f0
|
SHA1 (patch-poll_c-build-fix) = f9a2e86275431c53257c596974a6973c8034b1f0
|
||||||
|
SHA1 (patch-src_pulsecore_svolume_mmx.c) = ad1a1be7c1acf52c41447b2fb7d7dcd4c2da204b
|
||||||
|
|
24
audio/pulseaudio/patches/patch-src_pulsecore_svolume_mmx.c
Normal file
24
audio/pulseaudio/patches/patch-src_pulsecore_svolume_mmx.c
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
$NetBSD: patch-src_pulsecore_svolume_mmx.c,v 1.1 2011/07/21 15:10:11 joerg Exp $
|
||||||
|
|
||||||
|
Drop lvalue casts in assembler constraints as clang rejects those.
|
||||||
|
|
||||||
|
--- src/pulsecore/svolume_mmx.c.orig 2011-07-20 12:49:46.000000000 +0000
|
||||||
|
+++ src/pulsecore/svolume_mmx.c
|
||||||
|
@@ -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"
|
||||||
|
);
|
Loading…
Reference in a new issue