aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-02 07:37:14 +0800
committerkris <kris@FreeBSD.org>2002-12-02 07:37:14 +0800
commit2fb8e046625123d8ba6745dc368ad3288418ba89 (patch)
tree4b1d147b4af75254b31411f9af51357db3558736 /audio
parentb541e45149a554f0086be26cead7bee628b828a6 (diff)
downloadfreebsd-ports-gnome-2fb8e046625123d8ba6745dc368ad3288418ba89.tar.gz
freebsd-ports-gnome-2fb8e046625123d8ba6745dc368ad3288418ba89.tar.zst
freebsd-ports-gnome-2fb8e046625123d8ba6745dc368ad3288418ba89.zip
machine/soundcard.h -> sys/soundcard.h
This port is still broken (blows up later in the same file)
Diffstat (limited to 'audio')
-rw-r--r--audio/spiralloops/files/patch-Output.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/spiralloops/files/patch-Output.h b/audio/spiralloops/files/patch-Output.h
new file mode 100644
index 000000000000..7e1e465d3fb6
--- /dev/null
+++ b/audio/spiralloops/files/patch-Output.h
@@ -0,0 +1,20 @@
+--- ./SpiralSound/Output.h.orig Sun Dec 1 15:38:45 2002
++++ ./SpiralSound/Output.h Sun Dec 1 15:40:05 2002
+@@ -20,16 +20,12 @@
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+-#if defined (__FreeBSD__)
+- #include <machine/soundcard.h>
+-#else
+ #if defined (__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h> /* OSS emulation */
+ #undef ioctl
+-#else /* BSDI, Linux, Solaris */
++#else /* FreeBSD, BSDI, Linux, Solaris */
+ #include <sys/soundcard.h>
+ #endif /* __NetBSD__ or __OpenBSD__ */
+-#endif /* __FreeBSD__ */
+ #include <sys/ioctl.h>
+ #include <limits.h>
+