summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-04-13 13:38:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-18 05:49:21 +0100
commitd3c2bcd7dd7e3d3c0c0ccce1669791ca7915f4dc (patch)
treea3872462388d80206b044e0761ea45cb0e9666ea /meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1
parent6694c3582d12a64f51c6945a9320cfe74468f46d (diff)
downloadpoky-d3c2bcd7dd7e3d3c0c0ccce1669791ca7915f4dc.tar.gz
alsa-lib: upgrade to version 1.0.24.1
(From OE-Core rev: b69c77dd3734b1564c60f53d1584ec5bf75b5c48) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch21
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch14
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch
new file mode 100644
index 0000000000..32b84b7d7e
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch
@@ -0,0 +1,21 @@
1# Author: Michael Lauer <mickey@vanille-media.de>
2# Date: Thu Jan 18 00:27:21 2007 +0000
3# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options
4#
5# Acquired from OpenEmbedded
6
7Upstream-Status: Pending
8
9Index: alsa-lib-1.0.13/include/global.h
10===================================================================
11--- alsa-lib-1.0.13.orig/include/global.h
12+++ alsa-lib-1.0.13/include/global.h
13@@ -29,6 +29,8 @@
14 #define __ALSA_GLOBAL_H_
15
16 /* for timeval and timespec */
17+#define __need_timeval
18+#define __need_timespec
19 #include <time.h>
20
21 #ifdef __cplusplus
diff --git a/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch
new file mode 100644
index 0000000000..1f3edd06aa
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch
@@ -0,0 +1,14 @@
1Upstream-Status: Inappropriate [configuration]
2
3diff -Nur alsa-lib-1.0.14.orig/configure.in alsa-lib-1.0.14/configure.in
4--- alsa-lib-1.0.14.orig/configure.in 2007-05-31 03:05:13.000000000 -0500
5+++ alsa-lib-1.0.14/configure.in 2007-08-18 13:05:49.000000000 -0500
6@@ -93,7 +93,7 @@
7 esac
8 plugindir="$dir/$PACKAGE"
9 fi
10-AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "plugindir", [directory containing ALSA add-on modules])
11+AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "${plugindir}", [directory containing ALSA add-on modules])
12 ALSA_PLUGIN_DIR="$plugindir"
13 AC_SUBST(ALSA_PLUGIN_DIR)
14