summaryrefslogtreecommitdiffstats
path: root/audio/nas
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-12-17 01:53:29 +0000
committertrevor <trevor@FreeBSD.org>2000-12-17 01:53:29 +0000
commitd3ef72ce2e607a345ca66aa42516db5a1fefc1e3 (patch)
tree0e20ea746a3c5825fb3a27245d918f6cf10d55b7 /audio/nas
parentb70bec6c0027167c6f3edafa7392dc8ec434e062 (diff)
downloadFreeBSD-ports-d3ef72ce2e607a345ca66aa42516db5a1fefc1e3.zip
FreeBSD-ports-d3ef72ce2e607a345ca66aa42516db5a1fefc1e3.tar.gz
Fix alpha build failure by including <machine/pcaudioio.h> only for i386.
PR: 23592 Submitted by: Christian Weisgerber <naddy@mips.inka.de>
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 4758d9d..ea21ce3 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;
OpenPOWER on IntegriCloud