pkgsrc/games/maelstrom-x11/patches/patch-ac
wiz 6d5dc9656f Re-import of maelstrom as maelstrom-x11 to better show which version it is;
also, the SDL version seems to be the only one that's under development
right now. Requested in pkg/15583 by Ben Wong.
2002-07-11 13:26:12 +00:00

24 lines
574 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2002/07/11 13:26:13 wiz Exp $
--- mixer.h.orig Sun May 25 23:18:10 1997
+++ mixer.h Mon Aug 3 00:51:48 1998
@@ -22,7 +22,7 @@
#include <linux/soundcard.h>
#undef sparc /* For sparc Linux */
#else
-#ifdef sparc
+#if defined(sparc) && !defined(__NetBSD__)
#ifdef __SVR4 /* Solaris */
#include <sys/audioio.h>
#else /* SunOS */
@@ -38,6 +38,10 @@
#endif /* HPUX */
#endif /* sparc */
#endif /* linux */
+#ifdef __NetBSD__
+#include <sys/signal.h>
+#include <soundcard.h>
+#endif
};
#define _PATH_DEV_AUDIO "/dev/audio"