diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 14:54:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 14:55:07 +0000 |
commit | f2bc4c6a4828903d770f52efcd38750a46df0e2e (patch) | |
tree | 497fa8f3eccf49e1329d3141edb94259510258f2 /meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch | |
parent | 8a2dcd4224520866791b00c5d0d270ea86e320bd (diff) | |
download | poky-f2bc4c6a4828903d770f52efcd38750a46df0e2e.tar.gz |
alsa-utils: Add rename accidently dropped during patch merge
(From OE-Core rev: 96b7e1780c3a25bc19022b66a9d92a9ccf22dc59)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch deleted file mode 100644 index b2a9a956cc..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/uclibc-exp10-replacement.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | uclibc does not have exp10 function which is glibc extension. | ||
2 | Bur we can get the same behavior by using pow() | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Khem Raj <raj.khem@gmail.com> | ||
7 | |||
8 | Index: alsa-utils-1.0.24.2/alsamixer/volume_mapping.c | ||
9 | =================================================================== | ||
10 | --- alsa-utils-1.0.24.2.orig/alsamixer/volume_mapping.c | ||
11 | +++ alsa-utils-1.0.24.2/alsamixer/volume_mapping.c | ||
12 | @@ -36,6 +36,9 @@ | ||
13 | #include <math.h> | ||
14 | #include <stdbool.h> | ||
15 | #include "volume_mapping.h" | ||
16 | +#ifdef __UCLIBC__ | ||
17 | +#define exp10(x) (pow(10, (x))) | ||
18 | +#endif /* __UCLIBC__ */ | ||
19 | |||
20 | #define MAX_LINEAR_DB_SCALE 24 | ||
21 | |||