diff options
| -rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/0001-topology-Add-missing-include-sys-stat.h.patch | 35 | ||||
| -rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-topology-Add-missing-include-sys-stat.h.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-topology-Add-missing-include-sys-stat.h.patch new file mode 100644 index 0000000000..0ead0cdafe --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-topology-Add-missing-include-sys-stat.h.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 3f1dba9a821b53b42001605f9a126a958804884f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Takashi Iwai <tiwai@suse.de> | ||
| 3 | Date: Mon, 9 Nov 2015 13:37:26 +0100 | ||
| 4 | Subject: [PATCH] topology: Add missing include sys/stat.h | ||
| 5 | |||
| 6 | Necessary for proper definitions of S_IRUSR & co. Otherwise it | ||
| 7 | results in compile errors with old glibc and uclibc: | ||
| 8 | parser.c: In function 'snd_tplg_build_file': | ||
| 9 | parser.c:262: error: 'S_IRUSR' undeclared (first use in this function) | ||
| 10 | parser.c:262: error: (Each undeclared identifier is reported only once | ||
| 11 | parser.c:262: error: for each function it appears in.) | ||
| 12 | |||
| 13 | Upstream-Status: Backport | ||
| 14 | |||
| 15 | Signed-off-by: Takashi Iwai <tiwai@suse.de> | ||
| 16 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
| 17 | --- | ||
| 18 | src/topology/parser.c | 1 + | ||
| 19 | 1 file changed, 1 insertion(+) | ||
| 20 | |||
| 21 | diff --git a/src/topology/parser.c b/src/topology/parser.c | ||
| 22 | index 80a0ae0..18bb9c7 100644 | ||
| 23 | --- a/src/topology/parser.c | ||
| 24 | +++ b/src/topology/parser.c | ||
| 25 | @@ -16,6 +16,7 @@ | ||
| 26 | Liam Girdwood <liam.r.girdwood@linux.intel.com> | ||
| 27 | */ | ||
| 28 | |||
| 29 | +#include <sys/stat.h> | ||
| 30 | #include "list.h" | ||
| 31 | #include "tplg_local.h" | ||
| 32 | |||
| 33 | -- | ||
| 34 | 2.4.0 | ||
| 35 | |||
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb index c0bf9acce9..a73da28828 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb | |||
| @@ -17,6 +17,7 @@ ARM_INSTRUCTION_SET = "arm" | |||
| 17 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \ | 17 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \ |
| 18 | file://Check-if-wordexp-function-is-supported.patch \ | 18 | file://Check-if-wordexp-function-is-supported.patch \ |
| 19 | file://avoid-including-sys-poll.h-directly.patch \ | 19 | file://avoid-including-sys-poll.h-directly.patch \ |
| 20 | file://0001-topology-Add-missing-include-sys-stat.h.patch \ | ||
| 20 | " | 21 | " |
| 21 | SRC_URI[md5sum] = "69515ca73c3c4a212ef45160dea846c1" | 22 | SRC_URI[md5sum] = "69515ca73c3c4a212ef45160dea846c1" |
| 22 | SRC_URI[sha256sum] = "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" | 23 | SRC_URI[sha256sum] = "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" |
