aboutsummaryrefslogtreecommitdiff
path: root/audio/pulseaudio
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2010-07-25 15:23:23 +0000
committerKoop Mast <kwm@FreeBSD.org>2010-07-25 15:23:23 +0000
commit0325b24e7f08bdb3bde6cedd19c0d8ec58229d82 (patch)
tree3446bcd7485c2d57fa4264d14d9729d402f4e5c0 /audio/pulseaudio
parent5a65fe4385bffcd138af66a2b20a92fbf317ad8a (diff)
downloadports-0325b24e7f08bdb3bde6cedd19c0d8ec58229d82.tar.gz
ports-0325b24e7f08bdb3bde6cedd19c0d8ec58229d82.zip
Notes
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r--audio/pulseaudio/files/patch-src_modules_module-detect.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/pulseaudio/files/patch-src_modules_module-detect.c b/audio/pulseaudio/files/patch-src_modules_module-detect.c
new file mode 100644
index 000000000000..0d13b281e846
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_modules_module-detect.c
@@ -0,0 +1,12 @@
+--- src/modules/module-detect.c.orig 2009-11-22 22:57:05.000000000 -0500
++++ src/modules/module-detect.c 2010-06-17 19:20:39.000000000 -0400
+@@ -161,8 +161,7 @@
+ continue;
+
+ } else if (sscanf(line, "pcm%u: ", &device) == 1) {
+- /* FreeBSD support, the devices are named /dev/dsp0.0, dsp0.1 and so on */
+- pa_snprintf(args, sizeof(args), "device=/dev/dsp%u.0", device);
++ pa_snprintf(args, sizeof(args), "device=/dev/dsp%u", device);
+
+ if (!pa_module_load(c, "module-oss", args))
+ continue;