aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-18 16:11:46 +0800
committerpav <pav@FreeBSD.org>2004-11-18 16:11:46 +0800
commita05aa5f18c69d0fc0860bc89aea70c8ff479ffb8 (patch)
tree29339a4f95e11e4ae344e6a5654eb76caad2d6ac /audio
parent1917f4d55d26ad84cbb0b1ee9fbb3eaceffbc89d (diff)
downloadfreebsd-ports-gnome-a05aa5f18c69d0fc0860bc89aea70c8ff479ffb8.tar.gz
freebsd-ports-gnome-a05aa5f18c69d0fc0860bc89aea70c8ff479ffb8.tar.zst
freebsd-ports-gnome-a05aa5f18c69d0fc0860bc89aea70c8ff479ffb8.zip
- Fix build on !i386
Submitted by: Dima Panov <redfox@Fluffy.Khv.RU>
Diffstat (limited to 'audio')
-rw-r--r--audio/nas/files/patch-ab12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/nas/files/patch-ab b/audio/nas/files/patch-ab
index 125151b9b510..7d5e6f57dc7c 100644
--- a/audio/nas/files/patch-ab
+++ b/audio/nas/files/patch-ab
@@ -9,7 +9,17 @@
#include <getopt.h>
#endif
#include <sys/types.h>
-@@ -670,7 +670,11 @@
+@@ -177,7 +177,9 @@
+ # else
+ # include <machine/soundcard.h>
+ # endif
++/* PC Speaker functions seems to be unused here
+ # include <machine/pcaudioio.h>
++*/
+ #else
+ # ifdef __NetBSD__
+ # include <sys/ioctl.h>
+@@ -670,7 +672,11 @@
if(sndStatOut.fd == -1)
{
while ((sndStatOut.fd = open(sndStatOut.device,