media-libs/alsa-ucm-conf: adds a small upstream patch used by Fedora

Not entirely sure what this does but it's very small, already
upstreamed and cherry picked by Fedora's maintainer who also maintains
ALSA, so it's probably a good idea to have.

Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Niklāvs Koļesņikovs
2021-06-05 21:54:34 +03:00
committed by Lars Wendler
parent 99e2719e29
commit b46327024c
2 changed files with 22 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ DEPEND="${RDEPEND}"
MY_P="${PN}-1.2.4.81.g4884e"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${PN}-1.2.5-hda-Intel-the-lookups-are-supported-from-syntax-4.patch" ) # bug #793410
src_install() {
insinto /usr/share/alsa
doins -r ucm{,2}

View File

@@ -0,0 +1,20 @@
From 3f34021beffba4e39f064a14c5faceeaa224b766 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Tue, 1 Jun 2021 21:08:53 +0200
Subject: [PATCH] HDA-Intel: the lookups are supported from syntax 4
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/HDA-Intel/HDA-Intel.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ucm2/HDA-Intel/HDA-Intel.conf b/ucm2/HDA-Intel/HDA-Intel.conf
index 5794e72..8a8e0e7 100644
--- a/ucm2/HDA-Intel/HDA-Intel.conf
+++ b/ucm2/HDA-Intel/HDA-Intel.conf
@@ -1,4 +1,4 @@
-Syntax 3
+Syntax 4
Define.Use "" # a non-empty string to use UCM configuration for HDA devices