$NetBSD: patch-ab,v 1.2 2007/04/05 20:47:10 dillo Exp $ --- src/sound/midi_device.c.orig 2006-02-11 23:52:37.000000000 +0100 +++ src/sound/midi_device.c @@ -27,7 +27,7 @@ midi_device_t *midi_devices[] = { &midi_device_adlibemu, &midi_device_mt32gm, &midi_device_mt32, -#ifdef HAVE_SYS_SOUNDCARD_H +#if defined(HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__) &midi_device_adlib, #endif &midi_device_null,