aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2000-12-17 09:53:29 +0800
committertrevor <trevor@FreeBSD.org>2000-12-17 09:53:29 +0800
commitd3ef72ce2e607a345ca66aa42516db5a1fefc1e3 (patch)
tree0e20ea746a3c5825fb3a27245d918f6cf10d55b7
parentb70bec6c0027167c6f3edafa7392dc8ec434e062 (diff)
downloadfreebsd-ports-gnome-d3ef72ce2e607a345ca66aa42516db5a1fefc1e3.tar.gz
freebsd-ports-gnome-d3ef72ce2e607a345ca66aa42516db5a1fefc1e3.tar.zst
freebsd-ports-gnome-d3ef72ce2e607a345ca66aa42516db5a1fefc1e3.zip
Fix alpha build failure by including <machine/pcaudioio.h> only for i386.
PR: 23592 Submitted by: Christian Weisgerber <naddy@mips.inka.de>
-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;