summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2014-08-29 20:06:32 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-31 23:40:47 +0100
commitb72ce8202439d8fdb8a9129bec82359edb954133 (patch)
tree5bae0263a406a077aac2c2fd528959113be2ef89 /meta/recipes-multimedia/alsa/alsa-lib/Check-if-wordexp-function-is-supported.patch
parentcc0a0614e873ecdd08c704147361db2a7fff55ca (diff)
downloadpoky-b72ce8202439d8fdb8a9129bec82359edb954133.tar.gz
alsa-lib: upgrade to 1.0.28
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 Update-iatomic.h-functions-definitions-for-mips.patch removed, integrated upstream. Check-if-wordexp-function-is-supported.patch updated. (From OE-Core rev: 736dc0abd22be122cac053e8934e8bfd5b82eec0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch31
1 files changed, 16 insertions, 15 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
index 41b3c23a40..75a6eb8a3c 100644
--- 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
@@ -1,6 +1,6 @@
1From 2555c5d62229cf269974f6ec6e4689ab97bbda42 Mon Sep 17 00:00:00 2001 1From e33357b59a10d44e9bec5d24100ce23ca300cc79 Mon Sep 17 00:00:00 2001
2From: "Hong H. Pham" <hong.pham@windriver.com> 2From: "Hong H. Pham" <hong.pham@windriver.com>
3Date: Tue, 26 Feb 2013 19:40:04 -0500 3Date: Fri, 29 Aug 2014 17:13:55 +0300
4Subject: [PATCH] Check if wordexp function is supported 4Subject: [PATCH] Check if wordexp function is supported
5 5
6eglibc could be configured to build without wordexp, so it is not enough 6eglibc could be configured to build without wordexp, so it is not enough
@@ -8,24 +8,25 @@ to check if wordexp.h exists (the header file could be installed, but it's
8possible that the wordexp() function is not supported). An additional 8possible that the wordexp() function is not supported). An additional
9check if wordexp() is supported by the system C library is needed. 9check if wordexp() is supported by the system C library is needed.
10 10
11Upstream-Status: Pending 11Upstream-Status: Inappropriate [configuration]
12 12
13Signed-off-by: Hong H. Pham <hong.pham@windriver.com> 13Signed-off-by: Hong H. Pham <hong.pham@windriver.com>
14Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
14--- 15---
15 configure.in | 5 ++++- 16 configure.ac | 5 ++++-
16 src/userfile.c | 2 +- 17 src/userfile.c | 2 +-
17 2 files changed, 5 insertions(+), 2 deletions(-) 18 2 files changed, 5 insertions(+), 2 deletions(-)
18 19
19diff --git a/configure.in b/configure.in 20diff --git a/configure.ac b/configure.ac
20index 4bcb0d6..ba1c2dd 100644 21index b8353a0..773b72f 100644
21--- a/configure.in 22--- a/configure.ac
22+++ b/configure.in 23+++ b/configure.ac
23@@ -333,7 +333,10 @@ arm*) 24@@ -311,7 +311,10 @@ fi
24 esac 25 AC_SUBST(ALSA_DEPLIBS)
25 26
26 dnl Check for wordexp.h 27 dnl Check for headers
27-AC_CHECK_HEADERS([wordexp.h]) 28-AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h])
28+AC_CHECK_HEADERS([wordexp.h], 29+AC_CHECK_HEADERS([wordexp.h endian.h sys/endian.h],
29+ dnl Make sure wordexp is supported by the C library 30+ dnl Make sure wordexp is supported by the C library
30+ AC_CHECK_FUNCS([wordexp]) 31+ AC_CHECK_FUNCS([wordexp])
31+) 32+)
@@ -46,5 +47,5 @@ index 3a73836..b8ce809 100644
46 #include <assert.h> 47 #include <assert.h>
47 int snd_user_file(const char *file, char **result) 48 int snd_user_file(const char *file, char **result)
48-- 49--
491.7.10.4 501.9.1
50 51