All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] error building alsa-utils
Date: Thu, 15 Jan 2009 21:33:41 +0100	[thread overview]
Message-ID: <1232051621.4757.26.camel@aeglos.sweden.atmel.com> (raw)
In-Reply-To: <496F1A63.3010403@carallon.com>

tor 2009-01-15 klockan 11:13 +0000 skrev Will Wagner:
> > 
> > Ah yes, thats fairly common. Please send the patch to the list and
> > I'll apply it - Also don't forget to send it to the alsa people!
> 
> Attached is patch, have also mailed alsa-devel
> 
Alsa-utils fails for me when I run buildall.sh so 
I will put the stuff in the alsa-utils directory and rerun.


BR
Ulf Samuelsson

> > 
> >  Will> The second problem I have is it appears to be trying to install
> >  Will> the manual pages and is failing when trying to use xmlto
> >  Will> command. I want to configure it to not build/install the man
> >  Will> pages but I can't spot a configure option to do so. Am I
> >  Will> missing something obvious? If not how do you suggest fixing
> >  Will> this?
> > 
> > Well, if everything else fails, you can always patch the
> > Makefile.in's.
> 
> Have fixed by patching Makefile.in. I also realise that if I had xmlto on my build machine 
> it would not be a problem.
> 
> Will.
> 
> 
> vanligt textdokument-bilaga (alsa-utils-1.0.18-fix_sysv_legacy.patch)
> --- 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';
>  	}
> vanligt textdokument-bilaga (alsa-utils-1.0.18-remove_man.patch)
> --- 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
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2009-01-15 20:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 20:25 [Buildroot] error building alsa-utils Will Wagner
2009-01-14 21:14 ` Peter Korsgaard
2009-01-15 11:13   ` Will Wagner
2009-01-15 20:33     ` Ulf Samuelsson [this message]
2009-01-15 20:39       ` Ulf Samuelsson
2009-01-15 21:51         ` Peter Korsgaard
2009-01-15 21:55           ` Ulf Samuelsson
2009-01-16  9:32       ` Sven Neumann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232051621.4757.26.camel@aeglos.sweden.atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.