Signed-off-by: Andreas Müller <[email protected]> --- .../alsa-lib/0001-ucm-parser-needs-limits.h.patch | 33 ++++++++++++++++++++++ .../alsa/{alsa-lib_1.1.2.bb => alsa-lib_1.1.3.bb} | 5 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.2.bb => alsa-lib_1.1.3.bb} (87%)
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch new file mode 100644 index 0000000..9d464f4 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch @@ -0,0 +1,33 @@ +From 9ed4075f05a4242f32331f7f2c365767970f5003 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <[email protected]> +Date: Wed, 21 Dec 2016 19:46:34 -0300 +Subject: [PATCH] ucm: parser needs limits.h + +It's using PATH_MAX which is defined there, otherwise the build fails on +musl libc. + +Signed-off-by: Gustavo Zacarias <[email protected]> +Signed-off-by: Takashi Iwai <[email protected]> + +Upstream-Status: Backport [1] + +[1] http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=9ed4075f05a4242f32331f7f2c365767970f5003 +--- + src/ucm/parser.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ucm/parser.c b/src/ucm/parser.c +index c98373a..f520abc 100644 +--- a/src/ucm/parser.c ++++ b/src/ucm/parser.c +@@ -32,6 +32,7 @@ + + #include "ucm_local.h" + #include <dirent.h> ++#include <limits.h> + + /** The name of the environment variable containing the UCM directory */ + #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM" +-- +2.7.4 + diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb similarity index 87% rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb index e313da7..9a8a167 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb @@ -11,9 +11,10 @@ BBCLASSEXTEND = "native nativesdk" SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \ file://Check-if-wordexp-function-is-supported.patch \ file://avoid-including-sys-poll.h-directly.patch \ + file://0001-ucm-parser-needs-limits.h.patch \ " -SRC_URI[md5sum] = "1946e6438b8262a7b8fdadacd0e06ba7" -SRC_URI[sha256sum] = "d38dacd9892b06b8bff04923c380b38fb2e379ee5538935ff37e45b395d861d6" +SRC_URI[md5sum] = "eefe5992567ba00d6110a540657aaf5c" +SRC_URI[sha256sum] = "71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c" inherit autotools pkgconfig -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
