Subject: Re: kern/33832 (Kernel compile fails on audio.c)
To: None <jmcneill@NetBSD.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 06/27/2006 01:55:02
The following reply was made to PR kern/33832; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
	damon@brodiefamily.org
Subject: Re: kern/33832 (Kernel compile fails on audio.c)
Date: Mon, 26 Jun 2006 22:52:30 -0300 (ADT)

 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 */