aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2010-07-25 23:23:23 +0800
committerkwm <kwm@FreeBSD.org>2010-07-25 23:23:23 +0800
commitae9b11f3eb29892cd34c4b54e504f550b9fc6475 (patch)
tree1f086e54f777e5adcc3638d57f6eef97abcdba99
parent47499b2a78c6c7940f166090b309aeb12bc3fef8 (diff)
downloadfreebsd-ports-gnome-ae9b11f3eb29892cd34c4b54e504f550b9fc6475.tar.gz
freebsd-ports-gnome-ae9b11f3eb29892cd34c4b54e504f550b9fc6475.tar.zst
freebsd-ports-gnome-ae9b11f3eb29892cd34c4b54e504f550b9fc6475.zip
Add patch that somehow didn't make it in the previous commit.
-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;