diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2017-11-27 18:39:31 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-09 14:36:57 +0000 |
commit | 00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7 (patch) | |
tree | 74dc8923d8c5bb7053c07c6b180228ebe58bd029 /meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch | |
parent | 930f8873e0e180da7242f65bfd5c60f9d6c19424 (diff) | |
download | openembedded-core-contrib-00b73cbe8ae6d1dd6ba82f0ab5cd38c2d712deb7.tar.gz |
alsa-lib: 1.1.4.1 -> 1.1.5
Changes:
http://www.alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.5
Dropped all patches. The poll.h patch is included in the release, and
the wordexp patch is not needed any more, because the wordexp function
is replaced by an internal reimplementation.
It would still be possible to enable the use of wordexp with the
--with-wordexp configure option. The option exists, because the internal
reimplementation covers only part of what wordexp can do, so not using
wordexp can in theory cause regressions. However, it seems that
regressions are quite unlikely in practice. Here's some discussion about
the topic:
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-July/122667.html
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch b/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch deleted file mode 100644 index 795e48ab2e..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 3408f8e78776b12f131e433749721602f87e0a70 Mon Sep 17 00:00:00 2001 -From: "Hong H. Pham" <hong.pham@windriver.com> -Date: Fri, 29 Aug 2014 17:13:55 +0300 -Subject: [PATCH] Check if wordexp function is supported - -eglibc could be configured to build without wordexp, so it is not enough -to check if wordexp.h exists (the header file could be installed, but it's -possible that the wordexp() function is not supported). An additional -check if wordexp() is supported by the system C library is needed. - -Upstream-Status: Inappropriate [configuration] - -Signed-off-by: Hong H. Pham <hong.pham@windriver.com> -Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> ---- - configure.ac | 5 ++++- - src/userfile.c | 2 +- - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 9490d39..b08a90a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -295,7 +295,10 @@ fi - AC_SUBST(ALSA_DEPLIBS) - - dnl Check for headers --AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h sys/shm.h]) -+AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h sys/shm.h], -+ dnl Make sure wordexp is supported by the C library -+ AC_CHECK_FUNCS([wordexp]) -+) - - dnl Check for resmgr support... - AC_MSG_CHECKING(for resmgr support) -diff --git a/src/userfile.c b/src/userfile.c -index 72779da..e9d13e6 100644 ---- a/src/userfile.c -+++ b/src/userfile.c -@@ -32,7 +32,7 @@ - * stores the first matchine one. The returned string is strdup'ed. - */ - --#ifdef HAVE_WORDEXP_H -+#if (defined(HAVE_WORDEXP_H) && defined(HAVE_WORDEXP)) - #include <wordexp.h> - #include <assert.h> - int snd_user_file(const char *file, char **result) --- -2.6.4 - |