Files
pkgsrc-ng/games/maelstrom-x11/patches/patch-ac
T
2013-09-26 17:14:40 +02:00

25 lines
574 B
Plaintext

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