pkgsrc/games/freesci/patches/patch-ad

13 lines
395 B
Text

$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>