mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
gypsy: Add upstream status information for gypsy's patch alsa-utils: fix upstream status typo pulseaudio: add upstream status for pulseaudio-0.9.15's patches hostap: add upstream status for hostap's patch glibc: add upstream status for glibc's patch glib-2.0: add upstream status for glib-2.0's patch mtd-utils: add upstream status for mtd-utils patches add upstream status for opkg's patches mark add_vercmp.patch as inappropriate since the added function is not used. (From OE-Core rev: b0052e9467608cdc2e3b85f5b718e6b9c03d44ca) Signed-off-by: Dongxiao Xu <dongxiao.xu@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
|
|
|