aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2016-12-24 18:27:18 +0800
committerehaupt <ehaupt@FreeBSD.org>2016-12-24 18:27:18 +0800
commita4edab1f6185eb5ea4e5ff2925d3ae76b6dc9f05 (patch)
tree7141230083cc101ce69f287f941b4a9eaf77d1cd
parentff21eee1c4bd3fb927e2c50b99fdf68ac5315c3b (diff)
downloadfreebsd-ports-gnome-a4edab1f6185eb5ea4e5ff2925d3ae76b6dc9f05.tar.gz
freebsd-ports-gnome-a4edab1f6185eb5ea4e5ff2925d3ae76b6dc9f05.tar.zst
freebsd-ports-gnome-a4edab1f6185eb5ea4e5ff2925d3ae76b6dc9f05.zip
Fix setting master volume on i386
PR: 215521 Submitted by: t@tobik.me (maintainer) MFH: 2016Q4
-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;