diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-12-22 12:27:37 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-12-22 15:32:24 +0100 |
commit | a4d76e206d1c32e671cde324f1b8bb0da247af4e (patch) | |
tree | cbade4569c851fea007f9b94415ad0768577f381 /package/alsa-lib/0003-dlmisc.patch | |
parent | 1fa2f7646f11e775fc8f2e5ba729a2efb9b2e653 (diff) | |
download | buildroot-a4d76e206d1c32e671cde324f1b8bb0da247af4e.tar.gz buildroot-a4d76e206d1c32e671cde324f1b8bb0da247af4e.zip |
alsa-lib: bump to version 1.1.5
Drop upstream patches; renumber the rest.
Add license files hashes.
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/alsa-lib/0003-dlmisc.patch')
-rw-r--r-- | package/alsa-lib/0003-dlmisc.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/package/alsa-lib/0003-dlmisc.patch b/package/alsa-lib/0003-dlmisc.patch deleted file mode 100644 index 24b7230cae..0000000000 --- a/package/alsa-lib/0003-dlmisc.patch +++ /dev/null @@ -1,59 +0,0 @@ -alsa-lib: provide dummy definitions of RTLD_* if necessary - -The FLAT GNU toolchain (e.g. blackfin) doesn't include the dlfcn.h header -file, so we need to guard that include. Additionally, provide dummy -definitions for parameters RTLD_GLOBAL / RTLD_NOW which are normally -provided by dlfcn.h. - -Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> -[Thomas: don't add separate dlmisc.h, move dummy defs to global.h] -Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> - -diff --git a/include/global.h b/include/global.h ---- a/include/global.h -+++ b/include/global.h -@@ -97,6 +97,16 @@ extern struct snd_dlsym_link *snd_dlsym_ - /** \brief Returns the version of a dynamic symbol as a string. */ - #define SND_DLSYM_VERSION(version) __STRING(version) - -+/* RTLD_NOW and RTLD_GLOBAL (used for 'mode' in snd_dlopen) are not defined -+ * on all arches (e.g. blackfin), so provide a dummy definition here. */ -+#ifndef RTLD_NOW -+#define RTLD_NOW 0 -+#endif -+ -+#ifndef RTLD_GLOBAL -+#define RTLD_GLOBAL 0 -+#endif -+ - void *snd_dlopen(const char *file, int mode); - void *snd_dlsym(void *handle, const char *name, const char *version); - int snd_dlclose(void *handle); -diff --git a/modules/mixer/simple/sbasedl.c b/modules/mixer/simple/sbasedl.c ---- a/modules/mixer/simple/sbasedl.c -+++ b/modules/mixer/simple/sbasedl.c -@@ -27,7 +27,9 @@ - #include <fcntl.h> - #include <sys/ioctl.h> - #include <math.h> -+#include "config.h" -+#ifdef HAVE_DLFCN - #include <dlfcn.h> -+#endif --#include "config.h" - #include "asoundlib.h" - #include "mixer_abst.h" -diff --git a/src/mixer/simple_abst.c b/src/mixer/simple_abst.c ---- a/src/mixer/simple_abst.c -+++ b/src/mixer/simple_abst.c -@@ -34,7 +34,9 @@ - #include <fcntl.h> - #include <sys/ioctl.h> - #include <math.h> -+#include "config.h" -+#ifdef HAVE_DLFCN - #include <dlfcn.h> -+#endif --#include "config.h" - #include "asoundlib.h" - #include "mixer_simple.h" |