pkgsrc/audio/libmikmod/patches/patch-ad
2015-12-29 19:35:39 +00:00

18 lines
454 B
Text

$NetBSD: patch-ad,v 1.9 2015/12/29 19:35:39 dholland Exp $
Update default audio device path.
--- drivers/drv_sun.c.orig 2012-03-14 17:02:59.000000000 +0000
+++ drivers/drv_sun.c
@@ -79,9 +79,9 @@ extern int fputs(const char *, FILE *);
#endif
/* Sound device to open */
-#ifdef SUNOS4
+#ifndef SOLARIS /* SunOS, NetBSD */
#define SOUNDDEVICE "/dev/sound"
-#else /* Solaris, *BSD */
+#else /* Solaris */
#define SOUNDDEVICE "/dev/audio"
#endif