summaryrefslogtreecommitdiff
path: root/package/alsa-utils
diff options
context:
space:
mode:
Diffstat (limited to 'package/alsa-utils')
-rw-r--r--package/alsa-utils/Makefile8
-rw-r--r--package/alsa-utils/patches/patch-alsactl_init_parse_c21
2 files changed, 4 insertions, 25 deletions
diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile
index 08fc5f949..1b0dc7eee 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.19
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 5ff0379c707c1a29083233edc9ab4e06
+PKG_VERSION:= 1.0.20
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 6837e673ef19da96d8bd2f9e18cd9574
PKG_DESCR:= ALSA mixer utility
PKG_SECTION:= libs
PKG_URL:= http://www.alsa-project.org
@@ -17,7 +17,7 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,ALSA_UTILS,alsa-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ALSA_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-alsamixer
diff --git a/package/alsa-utils/patches/patch-alsactl_init_parse_c b/package/alsa-utils/patches/patch-alsactl_init_parse_c
deleted file mode 100644
index fca7eedd9..000000000
--- a/package/alsa-utils/patches/patch-alsactl_init_parse_c
+++ /dev/null
@@ -1,21 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- alsa-utils-1.0.19.orig/alsactl/init_parse.c 2009-01-19 12:17:19.000000000 +0100
-+++ alsa-utils-1.0.19/alsactl/init_parse.c 2009-05-09 04:56:45.000000000 +0200
-@@ -381,7 +381,7 @@ static int set_ctl_value(struct space *s
- snd_ctl_elem_value_set_integer(space->ctl_value, idx, val);
- } else if (items > 2 && value[items-2] == 'd' && value[items-1] == 'B') {
- val = strtol(value, NULL, 0) * 100;
-- if ((pos2 = index(value, '.')) != NULL) {
-+ if ((pos2 = strchr(value, '.')) != NULL) {
- if (isdigit(*(pos2-1)) && isdigit(*(pos2-2))) {
- if (val < 0)
- val -= strtol(pos2 + 1, NULL, 0);
-@@ -1253,7 +1253,7 @@ static char *new_root_dir(const char *fi
-
- res = strdup(filename);
- if (res) {
-- tmp = rindex(res, '/');
-+ tmp = strrchr(res, '/');
- if (tmp)
- *tmp = '\0';
- }