ports/audio/pulseaudio/files/patch-src_modules_module-detect.c
Jan Beich 4d8e904ca9 audio/pulseaudio: update to 9.0
- Add xcb to USE_XORG, required by bin/pacat
- Add iconv to USES, required by bin/pacat
- Add ssl to USES and correct OPENSSL_CFLAGS and OPENSSL_LIBS
- Replace --disable-systemd with correct --disable-systemd-* configure arguments
- Move ALSA and JACK to AUDIO options group
- Move BASH and ZSH to COMPLETIONS options group
- Add DATABASE single option to be able to select supported database
- Add SIMPLE (database support) to default options
- Silence mkdir
- Replace files/patch-src_daemon_default.pa.in with sed patch
- Adapt pkg-plist

Changes:	https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/9.0/
ABI:		https://abi-laboratory.pro/tracker/timeline/pulseaudio/
PR:		210548
Submitted by:	lightside@gmx.com
Approved by:	maintainer timeout (4 months)
2016-10-25 12:53:23 +00:00

12 lines
570 B
C

--- src/modules/module-detect.c.orig 2016-05-10 12:28:04 UTC
+++ src/modules/module-detect.c
@@ -160,8 +160,7 @@ static int detect_oss(pa_core *c, int ju
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;