From 605e0d6761e24feaefdac9fe58f911b868e1624b Mon Sep 17 00:00:00 2001 From: fredb Date: Tue, 12 Sep 2000 16:49:22 +0000 Subject: Make this work on NetBSD without installing a config file. --- audio/nas/files/patch-sum | 3 ++- audio/nas/patches/patch-ad | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 audio/nas/patches/patch-ad (limited to 'audio/nas') diff --git a/audio/nas/files/patch-sum b/audio/nas/files/patch-sum index cec34863675..02dee9ef923 100644 --- a/audio/nas/files/patch-sum +++ b/audio/nas/files/patch-sum @@ -1,5 +1,6 @@ -$NetBSD: patch-sum,v 1.2 2000/08/04 01:31:56 jlam Exp $ +$NetBSD: patch-sum,v 1.3 2000/09/12 16:49:22 fredb Exp $ MD5 (patch-aa) = 3820e20e048424230d36c917ffdba227 MD5 (patch-ab) = 0feb82f92c4fce1cae6b95c382d4680c MD5 (patch-ac) = e741e437ad3a9f6766dfd691e7dfd862 +MD5 (patch-ad) = 472be7a5a86f0cf877da03c82deec261 diff --git a/audio/nas/patches/patch-ad b/audio/nas/patches/patch-ad new file mode 100644 index 00000000000..c46622a89cc --- /dev/null +++ b/audio/nas/patches/patch-ad @@ -0,0 +1,28 @@ +$NetBSD: patch-ad,v 1.6 2000/09/12 16:49:23 fredb Exp $ + +--- server/dda/voxware/auvoxware.c.orig Sat Mar 4 20:40:55 2000 ++++ server/dda/voxware/auvoxware.c Tue Sep 12 11:41:20 2000 +@@ -224,7 +224,11 @@ + 256, + 3, + 32, ++#ifdef __NetBSD__ ++ "/dev/audio", ++#else + "/dev/dsp1", ++#endif + 0 + }, sndStatOut = + { +@@ -237,7 +241,11 @@ + 256, + 3, + 32, ++#ifdef __NetBSD__ ++ "/dev/audio", ++#else + "/dev/dsp", ++#endif + 0 + }; + -- cgit v1.2.3