summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-24 09:33:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-27 11:19:03 +0000
commit7d8c805f8f6ff1451412af8e9886af9466a37630 (patch)
tree19891fe8f3193c08de75675e2ca9ac2f4a5fa5a4 /meta
parentd7b46cb0790472931eff3a579d3c43c8a277a6d6 (diff)
downloadpoky-7d8c805f8f6ff1451412af8e9886af9466a37630.tar.gz
alsa-tools: Fix build with gcc 15
Fix reset_changes_boot() signature (From OE-Core rev: f30f314d03148fc4c0ebeb0e189ac42a0d31722c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch26
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb3
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch b/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch
new file mode 100644
index 0000000000..0892957507
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-tools/0001-hdajackretask-fix-reset_changes_boot-declaration.patch
@@ -0,0 +1,26 @@
1From 2b666ccbd616e0e0215241cb69b65d69d5146c8c Mon Sep 17 00:00:00 2001
2From: Jaroslav Kysela <perex@perex.cz>
3Date: Mon, 27 Jan 2025 11:02:21 +0100
4Subject: [PATCH] hdajackretask: fix reset_changes_boot() declaration
5
6Upstream-Status: Backport [https://github.com/alsa-project/alsa-tools/commit/5eaadd15bda4cf0424ee2470a6d304a0c2ce10cb]
7
8Signed-off-by: Jaroslav Kysela <perex@perex.cz>
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 hdajackretask/apply-changes.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/hdajackretask/apply-changes.h b/hdajackretask/apply-changes.h
15index e08d66d..e431a0d 100644
16--- a/hdajackretask/apply-changes.h
17+++ b/hdajackretask/apply-changes.h
18@@ -9,7 +9,7 @@ gboolean apply_changes_reconfig(pin_configs_t* pins, int entries, int card, int
19
20 gboolean apply_changes_boot(pin_configs_t* pins, int entries, int card, int device,
21 const char* model, const char* hints, GError** err);
22-gboolean reset_changes_boot();
23+gboolean reset_changes_boot(GError ** err);
24
25 #endif
26
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb
index 53868041c0..0b884e2075 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.2.11.bb
@@ -12,7 +12,8 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=59530bdf33659b29e73d4adb9f9f65
12 file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ 12 file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \
13 " 13 "
14 14
15SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2" 15SRC_URI = "https://www.alsa-project.org/files/pub/tools/${BP}.tar.bz2 \
16 file://0001-hdajackretask-fix-reset_changes_boot-declaration.patch"
16 17
17SRC_URI[sha256sum] = "0915c9634a502fd3655ca9c574d259bc9e79983d91d45aeacff6f3c00f8ae3e9" 18SRC_URI[sha256sum] = "0915c9634a502fd3655ca9c574d259bc9e79983d91d45aeacff6f3c00f8ae3e9"
18 19