summaryrefslogtreecommitdiff
path: root/games/freesci/patches/patch-ab
blob: b88bb9de5a4f84b98767ea35305148e72922fd25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2004/03/20 15:16:10 wiz Exp $

--- src/sound/midi_device.c.orig	2003-01-19 22:57:33.000000000 +0100
+++ src/sound/midi_device.c
@@ -26,7 +26,7 @@ midi_device_t midi_device_null;
 midi_device_t *midi_devices[] = {
 	&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_adlibemu,