summaryrefslogtreecommitdiff
path: root/games/freesci/patches/patch-ab
blob: 795fda24138ecb452d3b0ebc37960d57de253f10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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,