mirror of
https://git.yoctoproject.org/poky
synced 2026-02-28 20:39:39 +01:00
ncursesfix.patch is no longer necessary, build system fixed upstream. ncursesfix.patch removed. (From OE-Core rev: 1dccd16e29186e7baad6ebcf189b7ea2463c2275) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
598 B
Diff
22 lines
598 B
Diff
uclibc does not have exp10 function which is glibc extension.
|
|
Bur we can get the same behavior by using pow()
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: alsa-utils-1.0.24.2/alsamixer/volume_mapping.c
|
|
===================================================================
|
|
--- alsa-utils-1.0.24.2.orig/alsamixer/volume_mapping.c
|
|
+++ alsa-utils-1.0.24.2/alsamixer/volume_mapping.c
|
|
@@ -36,6 +36,9 @@
|
|
#include <math.h>
|
|
#include <stdbool.h>
|
|
#include "volume_mapping.h"
|
|
+#ifdef __UCLIBC__
|
|
+#define exp10(x) (pow(10, (x)))
|
|
+#endif /* __UCLIBC__ */
|
|
|
|
#define MAX_LINEAR_DB_SCALE 24
|
|
|