mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 04:50:03 -04:00
19 lines
454 B
Plaintext
19 lines
454 B
Plaintext
$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
|
|
|