Date: Wed, 9 Nov 2016 22:06:42 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425812 - in head/audio/pulseaudio: . files Message-ID: <201611092206.uA9M6gAa096889@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Nov 9 22:06:42 2016 New Revision: 425812 URL: https://svnweb.freebsd.org/changeset/ports/425812 Log: audio/pulseaudio: simplify hw.snd.default_unit search PR: 211684 Submitted by: lightside <lightside@gmx.com> MFH: 2016Q4 (r425809 bandwagon) Modified: head/audio/pulseaudio/Makefile (contents, props changed) head/audio/pulseaudio/files/patch-src_modules_module-detect.c (contents, props changed) Modified: head/audio/pulseaudio/Makefile ============================================================================== --- head/audio/pulseaudio/Makefile Wed Nov 9 22:06:26 2016 (r425811) +++ head/audio/pulseaudio/Makefile Wed Nov 9 22:06:42 2016 (r425812) @@ -6,7 +6,7 @@ PORTNAME= pulseaudio PORTVERSION= 9.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ Modified: head/audio/pulseaudio/files/patch-src_modules_module-detect.c ============================================================================== --- head/audio/pulseaudio/files/patch-src_modules_module-detect.c Wed Nov 9 22:06:26 2016 (r425811) +++ head/audio/pulseaudio/files/patch-src_modules_module-detect.c Wed Nov 9 22:06:42 2016 (r425812) @@ -1,6 +1,6 @@ --- src/modules/module-detect.c.orig 2016-05-10 12:28:04 UTC +++ src/modules/module-detect.c -@@ -160,11 +160,48 @@ static int detect_oss(pa_core *c, int ju +@@ -160,11 +160,45 @@ static int detect_oss(pa_core *c, int ju continue; } else if (sscanf(line, "pcm%u: ", &device) == 1) { @@ -16,10 +16,7 @@ + if (!pa_endswith(line, "default")) + continue; + -+ char *p = strrchr(line, '>'); -+ -+ if (p) -+ p = strchr(p, '('); ++ const char *p = strrchr(line, '('); + + if (!p) continue;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611092206.uA9M6gAa096889>