summaryrefslogtreecommitdiff
path: root/audio/libmikmod/patches
diff options
context:
space:
mode:
authormycroft <mycroft>2001-03-31 02:41:07 +0000
committermycroft <mycroft>2001-03-31 02:41:07 +0000
commit3aba8458df95518a21fbfe555cf0b26b8ebadf61 (patch)
tree386597921f579b2818c73495c74617359e5294b6 /audio/libmikmod/patches
parent940e90bbc1603d435a697aa6040f98235100a6e5 (diff)
downloadpkgsrc-3aba8458df95518a21fbfe555cf0b26b8ebadf61.tar.gz
Use /dev/sound, not /dev/audio.
Diffstat (limited to 'audio/libmikmod/patches')
-rw-r--r--audio/libmikmod/patches/patch-ad41
1 files changed, 21 insertions, 20 deletions
diff --git a/audio/libmikmod/patches/patch-ad b/audio/libmikmod/patches/patch-ad
index 3d67e2cffb8..1f2b592ae03 100644
--- a/audio/libmikmod/patches/patch-ad
+++ b/audio/libmikmod/patches/patch-ad
@@ -1,21 +1,22 @@
-$NetBSD: patch-ad,v 1.1 2000/04/02 16:07:05 pooka Exp $
+$NetBSD: patch-ad,v 1.2 2001/03/31 02:41:08 mycroft Exp $
-*** drivers/drv_sun.c.orig Tue Feb 15 00:10:21 2000
---- drivers/drv_sun.c Sun Apr 2 15:18:28 2000
-***************
-*** 61,67 ****
- #include <sys/audioio.h>
- #endif
-
-! #define DEFAULT_FRAGSIZE 12
-
- #if !defined __NetBSD__ && !defined __OpenBSD__
- #ifdef HAVE_SUN_AUDIOIO_H
---- 61,67 ----
- #include <sys/audioio.h>
- #endif
-
-! #define DEFAULT_FRAGSIZE 13
-
- #if !defined __NetBSD__ && !defined __OpenBSD__
- #ifdef HAVE_SUN_AUDIOIO_H
+--- drivers/drv_sun.c.orig Mon Feb 14 22:10:21 2000
++++ drivers/drv_sun.c Sat Mar 31 02:39:24 2001
+@@ -61,7 +61,7 @@
+ #include <sys/audioio.h>
+ #endif
+
+-#define DEFAULT_FRAGSIZE 12
++#define DEFAULT_FRAGSIZE 13
+
+ #if !defined __NetBSD__ && !defined __OpenBSD__
+ #ifdef HAVE_SUN_AUDIOIO_H
+@@ -72,7 +72,7 @@
+ #endif
+
+ /* Sound device to open */
+-#ifdef SUNOS4
++#if defined SUNOS4 || defined __NetBSD__
+ #define SOUNDDEVICE "/dev/sound"
+ #else /* Solaris, *BSD */
+ #define SOUNDDEVICE "/dev/audio"