Subject: Re: kern/33832 (Kernel compile fails on audio.c)
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Damon Brodie <damon@brodiefamily.org>
List: netbsd-bugs
Date: 06/26/2006 22:03:37
Hi Jared,

That worked!

Thanks,

Damon

On Mon, Jun 26, 2006 at 10:52:30PM -0300, Jared D. McNeill wrote:
> Does the following patch resolve your problem?
> 
> Cheers,
> Jared
> 
> Index: audio.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/audio.c,v
> retrieving revision 1.207
> diff -u -r1.207 audio.c
> --- audio.c	19 Jun 2006 10:19:08 -0000	1.207
> +++ audio.c	27 Jun 2006 01:51:28 -0000
> @@ -3738,6 +3738,7 @@
> 
>  #endif /* NAUDIO > 0 || (NMIDI > 0 || NMIDIBUS > 0) */
> 
> +#if NAUDIO > 0
>  void
>  audio_powerhook(int why, void *aux)
>  {
> @@ -3764,3 +3765,4 @@
> 
>  	return;
>  }
> +#endif /* NAUDIO > 0 */