Commit 03f36427 authored by Martin Banky's avatar Martin Banky Committed by Peter Korsgaard
Browse files

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: default avatarMartin Banky <Martin.Banky@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 92919160
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
	Ccache support reworked. Now used for both host and target
	compilation, and cache is stored in ~/.buildroot-ccache.

	Updated/fixed packages: at, busybox, bzip2, dbus,
	Updated/fixed packages: alsa-utils, at, busybox, bzip2, dbus,
	direcfb-examples, dmalloc, cloop, cups, ffmpeg, gdk-pixbuf,
	hostapd, i2c-tools, input-tools, libconfig, lsof,
	ltp-testsuite, lvm2, m4, memtester, mii-diag, mrouted,
+0 −13
Original line number Diff line number Diff line
Index: alsa-utils-1.0.18/alsactl/init_sysdeps.c
===================================================================
--- alsa-utils-1.0.18.orig/alsactl/init_sysdeps.c	2008-12-01 08:27:16.000000000 +0100
+++ alsa-utils-1.0.18/alsactl/init_sysdeps.c	2008-12-01 08:27:22.000000000 +0100
@@ -17,7 +17,7 @@
  *
  */
 
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__USE_BSD)
 static size_t strlcpy(char *dst, const char *src, size_t size)
 {
 	size_t bytes = 0;
+0 −11
Original line number Diff line number Diff line
--- a/seq/aseqnet/Makefile.in
+++ b/seq/aseqnet/Makefile.in
@@ -252,7 +252,7 @@ clean-binPROGRAMS:
 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 aseqnet$(EXEEXT): $(aseqnet_OBJECTS) $(aseqnet_DEPENDENCIES) 
 	@rm -f aseqnet$(EXEEXT)
-	$(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS)
+	$(LINK) $(aseqnet_LDFLAGS) $(aseqnet_OBJECTS) $(aseqnet_LDADD) $(LIBS) $(INTLLIBS)
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)
+0 −20
Original line number Diff line number Diff line
--- 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';
 	}
+0 −11
Original line number Diff line number Diff line
--- a/alsactl/Makefile.in	2009-01-15 10:59:38.000000000 +0000
+++ b/alsactl/Makefile.in	2009-01-15 10:59:34.000000000 +0000
@@ -204,7 +204,7 @@ sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 SUBDIRS = init
-man_MANS = alsactl.1 alsactl_init.7
+man_MANS = alsactl.1
 EXTRA_DIST = alsactl.1 alsactl_init.xml
 alsactl_SOURCES = alsactl.c state.c utils.c init_parse.c
 noinst_HEADERS = alsactl.h list.h init_sysdeps.c init_utils_string.c init_utils_run.c init_sysfs.c
Loading