1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add patch that somehow didn't make it in the previous commit.

This commit is contained in:
Koop Mast 2010-07-25 15:23:23 +00:00
parent 5a65fe4385
commit 0325b24e7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258236

View File

@ -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;