aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2016-12-25 09:31:34 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2016-12-25 09:31:34 +0000
commit159607b2e40ea0694c739056d169ae6ab5057c5f (patch)
treeb87f7e0e240cb2c87ad7c7b8e1fccfd900c36e4e
parent231b003febc9a075b4b59f39fec660d1deefce39 (diff)
downloadports-159607b2e40ea0694c739056d169ae6ab5057c5f.tar.gz
ports-159607b2e40ea0694c739056d169ae6ab5057c5f.zip
MFH: r429325
Fix setting master volume on i386 PR: 215521 Submitted by: t@tobik.me (maintainer) Approved by: ports-secteam (junovitch)
Notes
Notes: svn path=/branches/2016Q4/; revision=429406
-rw-r--r--audio/aucatctl/Makefile1
-rw-r--r--audio/aucatctl/files/patch-aucatctl.c10
2 files changed, 11 insertions, 0 deletions
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;