Subject: Re: kern/33832 (Kernel compile fails on audio.c)
To: None <gnats-bugs@NetBSD.org>
From: Jared D. McNeill <jmcneill@invisible.ca>
List: netbsd-bugs
Date: 06/26/2006 22:52:30
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 */