summaryrefslogtreecommitdiff
path: root/games/freesci/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/freesci/patches/patch-ad')
-rw-r--r--games/freesci/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freesci/patches/patch-ad b/games/freesci/patches/patch-ad
new file mode 100644
index 00000000000..60011c6183c
--- /dev/null
+++ b/games/freesci/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midiout_ossopl3.c.orig 2002-09-16 15:19:15.000000000 +0200
++++ src/sound/midiout_ossopl3.c
+@@ -63,7 +63,7 @@ Fmplay includes the following notice:
+
+ #include <midiout.h>
+
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined (HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+ #include <stdio.h>
+ #include <errno.h>
+ #include <sys/ioctl.h>