summaryrefslogtreecommitdiff
path: root/audio/audacity/files/patch-portaudio-pa_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audacity/files/patch-portaudio-pa_unix.h')
-rw-r--r--audio/audacity/files/patch-portaudio-pa_unix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/audacity/files/patch-portaudio-pa_unix.h b/audio/audacity/files/patch-portaudio-pa_unix.h
new file mode 100644
index 000000000000..e4a44ff9a1bf
--- /dev/null
+++ b/audio/audacity/files/patch-portaudio-pa_unix.h
@@ -0,0 +1,11 @@
+--- lib-src/portaudio/pa_unix_oss/pa_unix.h.orig Tue Dec 2 19:56:56 2003
++++ lib-src/portaudio/pa_unix_oss/pa_unix.h Tue Dec 2 19:58:33 2003
+@@ -82,7 +82,7 @@
+ #define MAX_TIMEOUT_MSEC (1000)
+
+ /************************************************* Definitions ********/
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ #define DEVICE_NAME_BASE "/dev/dsp"
+ #else
+ #define DEVICE_NAME_BASE "/dev/audio"