1 |
commit: 755506b85255d86236beea42d56da56b6c85277f |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 20:47:53 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 20:47:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755506b8 |
7 |
|
8 |
media-libs/speex: Fix fixed point arithmetic on old ARM |
9 |
|
10 |
Closes: https://bugs.gentoo.org/617322 |
11 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
12 |
|
13 |
media-libs/speex/speex-1.2.0-r1.ebuild | 7 ++++--- |
14 |
1 file changed, 4 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/speex/speex-1.2.0-r1.ebuild b/media-libs/speex/speex-1.2.0-r1.ebuild |
17 |
index f692f00185d..f296eaea347 100644 |
18 |
--- a/media-libs/speex/speex-1.2.0-r1.ebuild |
19 |
+++ b/media-libs/speex/speex-1.2.0-r1.ebuild |
20 |
@@ -42,10 +42,13 @@ multilib_src_configure() { |
21 |
append-lfs-flags |
22 |
|
23 |
local \ |
24 |
+ FIXED_ARG=--disable-fixed-point \ |
25 |
ARM4_ARG=--disable-arm4-asm \ |
26 |
ARM5_ARG=--disable-arm5e-asm |
27 |
|
28 |
if use arm && ! use cpu_flags_arm_v6; then |
29 |
+ FIXED_ARG=--enable-fixed-point |
30 |
+ |
31 |
if use cpu_flags_arm_v5; then |
32 |
ARM5_ARG=--enable-arm5e-asm |
33 |
elif use cpu_flags_arm_v4; then |
34 |
@@ -53,15 +56,13 @@ multilib_src_configure() { |
35 |
fi |
36 |
fi |
37 |
|
38 |
- # Can also be configured without floating point |
39 |
- # --enable-fixed-point |
40 |
ECONF_SOURCE="${S}" econf \ |
41 |
$(use_enable static-libs static) \ |
42 |
$(use_enable cpu_flags_x86_sse sse) \ |
43 |
$(use_enable vbr) \ |
44 |
$(use_with utils speexdsp) \ |
45 |
$(use_enable utils binaries) \ |
46 |
- ${ARM4_ARG} ${ARM5_ARG} |
47 |
+ ${FIXED_ARG} ${ARM4_ARG} ${ARM5_ARG} |
48 |
} |
49 |
|
50 |
multilib_src_install_all() { |