From 58ed19a421ed9d0d38a432ee78fde9277165a6ab Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 2 Mar 2012 19:55:09 +0100 Subject: update apps to latest upstream version --- package/alsa-utils/Makefile | 4 +-- .../patches/alsa-utils-exp10-workaround.patch | 33 ---------------------- 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 package/alsa-utils/patches/alsa-utils-exp10-workaround.patch (limited to 'package/alsa-utils') diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile index 972228cc2..e5e157d0c 100644 --- a/package/alsa-utils/Makefile +++ b/package/alsa-utils/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= alsa-utils -PKG_VERSION:= 1.0.24.2 +PKG_VERSION:= 1.0.25 PKG_RELEASE:= 1 -PKG_MD5SUM:= 8238cd57cb301d1c36bcf0ecb59ce6b2 +PKG_MD5SUM:= f81f9dcb9a014fd32cb3a70066a5b9a9 PKG_DESCR:= ALSA mixer utility PKG_SECTION:= multimedia PKG_DEPENDS:= alsa-lib libpthread diff --git a/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch b/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch deleted file mode 100644 index f4a520a5c..000000000 --- a/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch +++ /dev/null @@ -1,33 +0,0 @@ -From da14c5ab2a6e030c5c56c979b8eb3ca071890876 Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard -Date: Mon, 14 Mar 2011 09:19:18 +0100 -Subject: [PATCH] alsamixer: fix build on uClibc - -exp10 is a glibc extension, which isn't supported on uClibc. Luckily, -exp10() is trivial to compute based on exp(), so add a wrapper for -the uClibc case. - -Signed-off-by: Peter Korsgaard ---- - alsamixer/volume_mapping.c | 5 +++++ - 1 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/alsamixer/volume_mapping.c b/alsamixer/volume_mapping.c -index 9cacad8..1c0d7c4 100644 ---- a/alsamixer/volume_mapping.c -+++ b/alsamixer/volume_mapping.c -@@ -37,6 +37,11 @@ - #include - #include "volume_mapping.h" - -+#ifdef __UCLIBC__ -+/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */ -+#define exp10(x) (exp((x) * log(10))) -+#endif /* __UCLIBC__ */ -+ - #define MAX_LINEAR_DB_SCALE 24 - - static inline bool use_linear_dB_scale(long dBmin, long dBmax) --- -1.7.2.3 - -- cgit v1.2.3