summaryrefslogtreecommitdiff
path: root/audio/nas
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2000-12-17 01:53:29 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2000-12-17 01:53:29 +0000
commitca2eb043b259383bee5b274861ce79d43be4a936 (patch)
treec10c3b31a9c8bfb4a687ba490374844b3fcdb09b /audio/nas
parentInitial import of yawho, a w-like program which adds the display (diff)
Fix alpha build failure by including <machine/pcaudioio.h> only for i386.
PR: 23592 Submitted by: Christian Weisgerber <naddy@mips.inka.de>
Notes
Notes: svn path=/head/; revision=36034
Diffstat (limited to 'audio/nas')
-rw-r--r--audio/nas/files/patch-ab21
1 files changed, 16 insertions, 5 deletions
diff --git a/audio/nas/files/patch-ab b/audio/nas/files/patch-ab
index 4758d9d13c27..ea21ce3ea567 100644
--- a/audio/nas/files/patch-ab
+++ b/audio/nas/files/patch-ab
@@ -1,6 +1,17 @@
---- server/dda/voxware/auvoxware.c.orig Sun Mar 5 11:40:55 2000
-+++ server/dda/voxware/auvoxware.c Sat Mar 25 15:18:36 2000
-@@ -610,7 +610,11 @@
+--- server/dda/voxware/auvoxware.c.orig Sun Mar 5 03:40:55 2000
++++ server/dda/voxware/auvoxware.c Sat Dec 16 22:11:35 2000
+@@ -156,7 +156,9 @@
+
+ #ifdef __FreeBSD__
+ # include <machine/soundcard.h>
+-# include <machine/pcaudioio.h>
++# ifdef __i386__
++# include <machine/pcaudioio.h>
++# endif
+ #else
+ # ifdef __NetBSD__
+ # include <sys/ioctl.h>
+@@ -610,7 +612,11 @@
if(sndStatOut.fd == -1)
{
@@ -12,7 +23,7 @@
{
osLogMsg("openDevice: waiting on output device\n");
sleep(1);
-@@ -1230,6 +1234,11 @@
+@@ -1230,6 +1236,11 @@
/*
* Setup soundcard at maximum audio quality.
*/
@@ -24,7 +35,7 @@
static void setupSoundcard(sndStatPtr)
SndStat* sndStatPtr;
{
-@@ -1380,7 +1389,11 @@
+@@ -1380,7 +1391,11 @@
AL_initialized = AuTrue;