From b69c77dd3734b1564c60f53d1584ec5bf75b5c48 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Wed, 13 Apr 2011 13:38:25 +0800 Subject: alsa-lib: upgrade to version 1.0.24.1 Signed-off-by: Dongxiao Xu --- .../alsa-lib-1.0.24.1/fix-tstamp-declaration.patch | 21 +++++++++++++++++++++ .../alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch | 14 ++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/fix-tstamp-declaration.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1/unbreak_plugindir.patch (limited to 'meta/recipes-multimedia/alsa/alsa-lib-1.0.24.1') 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 @@ +# Author: Michael Lauer +# Date: Thu Jan 18 00:27:21 2007 +0000 +# alsa-lib: fix "error: field 'tstamp' has incomplete type" when including alsa headers with strict compilation options +# +# Acquired from OpenEmbedded + +Upstream-Status: Pending + +Index: alsa-lib-1.0.13/include/global.h +=================================================================== +--- alsa-lib-1.0.13.orig/include/global.h ++++ alsa-lib-1.0.13/include/global.h +@@ -29,6 +29,8 @@ + #define __ALSA_GLOBAL_H_ + + /* for timeval and timespec */ ++#define __need_timeval ++#define __need_timespec + #include + + #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 @@ +Upstream-Status: Inappropriate [configuration] + +diff -Nur alsa-lib-1.0.14.orig/configure.in alsa-lib-1.0.14/configure.in +--- alsa-lib-1.0.14.orig/configure.in 2007-05-31 03:05:13.000000000 -0500 ++++ alsa-lib-1.0.14/configure.in 2007-08-18 13:05:49.000000000 -0500 +@@ -93,7 +93,7 @@ + esac + plugindir="$dir/$PACKAGE" + fi +-AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "plugindir", [directory containing ALSA add-on modules]) ++AC_DEFINE_UNQUOTED(ALSA_PLUGIN_DIR, "${plugindir}", [directory containing ALSA add-on modules]) + ALSA_PLUGIN_DIR="$plugindir" + AC_SUBST(ALSA_PLUGIN_DIR) + -- cgit v1.2.3