summaryrefslogtreecommitdiffstats
path: root/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-12-12 22:54:00 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-14 00:53:12 +0100
commit03f36427e4ed199cd2890b254c160dc09656c3d8 (patch)
treef1911dfadd2660084837f1d3f10df6bd0ef14e1b /package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
parent92919160b8a06260463ba3e3a241e433bbe1d947 (diff)
downloadbuildroot-novena-03f36427e4ed199cd2890b254c160dc09656c3d8.tar.gz
buildroot-novena-03f36427e4ed199cd2890b254c160dc09656c3d8.zip
alsa-utils: convert to autotargets and bump to 1.0.23
[ Thomas: remove all patches, since they have been merged. Implement the target uninstallation step, fix many issues. ] [Peter: fix target install / uninstall steps] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch')
-rw-r--r--package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch b/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
deleted file mode 100644
index c6135b4c0..000000000
--- a/package/multimedia/alsa-utils/alsa-utils-1.0.18-fix_sysv_legacy.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/alsactl/init_parse.c 2009-01-15 10:44:48.000000000 +0000
-+++ b/alsactl/init_parse.c 2009-01-15 10:46:41.000000000 +0000
-@@ -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';
- }