diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-23 15:29:02 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-25 11:08:06 +0100 |
commit | 99abf529df83cfc8d69e6fcad1e6a13562a83c02 (patch) | |
tree | 02204d19a1958070dae98b7d1dad74ad789a9efb | |
parent | ffd3d1be39ab39a34504dc47c0f1bd2c1bdc91e4 (diff) | |
download | poky-99abf529df83cfc8d69e6fcad1e6a13562a83c02.tar.gz |
alsa-plugins: Include missing string.h
(From OE-Core rev: 2ae1eb5528c21fce31d4ac3c1837423c62da77d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam_av.c-Include-missing-string.h.patch | 25 | ||||
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins_1.2.7.1.bb | 4 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam_av.c-Include-missing-string.h.patch b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam_av.c-Include-missing-string.h.patch new file mode 100644 index 0000000000..ff7745d637 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam_av.c-Include-missing-string.h.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From b01b176a665ba65979d74922955f51dc4888a713 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 23 Aug 2022 15:21:16 -0700 | ||
4 | Subject: [PATCH] arcam_av.c: Include missing string.h | ||
5 | |||
6 | bzero() function needs this header to be included | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/alsa-project/alsa-plugins/pull/47] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | arcam-av/arcam_av.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/arcam-av/arcam_av.c b/arcam-av/arcam_av.c | ||
15 | index 63f9b4e..29fc537 100644 | ||
16 | --- a/arcam-av/arcam_av.c | ||
17 | +++ b/arcam-av/arcam_av.c | ||
18 | @@ -27,6 +27,7 @@ | ||
19 | #include <signal.h> | ||
20 | #include <stddef.h> | ||
21 | #include <stdio.h> | ||
22 | +#include <string.h> | ||
23 | #include <termios.h> | ||
24 | #include <unistd.h> | ||
25 | |||
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.7.1.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.7.1.bb index 62505fee83..9500462d5c 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.2.7.1.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.2.7.1.bb | |||
@@ -22,7 +22,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ | |||
22 | file://rate/rate_samplerate.c;endline=35;md5=fd77bce85f4a338c0e8ab18430b69fae \ | 22 | file://rate/rate_samplerate.c;endline=35;md5=fd77bce85f4a338c0e8ab18430b69fae \ |
23 | " | 23 | " |
24 | 24 | ||
25 | SRC_URI = "https://www.alsa-project.org/files/pub/plugins/${BP}.tar.bz2" | 25 | SRC_URI = "https://www.alsa-project.org/files/pub/plugins/${BP}.tar.bz2 \ |
26 | file://0001-arcam_av.c-Include-missing-string.h.patch \ | ||
27 | " | ||
26 | SRC_URI[sha256sum] = "8c337814954bb7c167456733a6046142a2931f12eccba3ec2a4ae618a3432511" | 28 | SRC_URI[sha256sum] = "8c337814954bb7c167456733a6046142a2931f12eccba3ec2a4ae618a3432511" |
27 | 29 | ||
28 | DEPENDS += "alsa-lib" | 30 | DEPENDS += "alsa-lib" |