From b28cdbff15d36a9da78f6ffdef030c1b88ec560e Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sat, 24 Dec 2016 10:27:18 +0000 Subject: [PATCH] Fix setting master volume on i386 PR: 215521 Submitted by: t@tobik.me (maintainer) MFH: 2016Q4 --- audio/aucatctl/Makefile | 1 + audio/aucatctl/files/patch-aucatctl.c | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 audio/aucatctl/files/patch-aucatctl.c diff --git a/audio/aucatctl/Makefile b/audio/aucatctl/Makefile index fe279d36260e..4ed380fa46f3 100644 --- a/audio/aucatctl/Makefile +++ b/audio/aucatctl/Makefile @@ -6,6 +6,7 @@ PORTNAME= aucatctl PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://www.sndio.org/ diff --git a/audio/aucatctl/files/patch-aucatctl.c b/audio/aucatctl/files/patch-aucatctl.c new file mode 100644 index 000000000000..ce2084cfaac1 --- /dev/null +++ b/audio/aucatctl/files/patch-aucatctl.c @@ -0,0 +1,10 @@ +--- aucatctl.c.orig 2016-12-22 19:50:06 UTC ++++ aucatctl.c +@@ -69,6 +69,7 @@ setmaster(unsigned vol) + + msg.start = SYSEX_START; + msg.type = SYSEX_TYPE_RT; ++ msg.dev = 0; + msg.id0 = SYSEX_CONTROL; + msg.id1 = SYSEX_MASTER; + msg.u.master.fine = 0;