summaryrefslogtreecommitdiffstats
path: root/package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2018-04-13 09:28:24 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-15 21:30:38 +0200
commitccad7db515fa79d2331e4e949aafb32eca0b5214 (patch)
tree1b30c81a4d40c5e652222c4f3470aa1b0f7573d7 /package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch
parent5ec055b2c0dec66699c5ace2bc01b4a527276aba (diff)
downloadbuildroot-ccad7db515fa79d2331e4e949aafb32eca0b5214.tar.gz
buildroot-ccad7db515fa79d2331e4e949aafb32eca0b5214.zip
alsa-lib: bump to version 1.1.6
Regenerate patches using git as patch 0002 didn't applu and the others were fuzzy. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: fix authorship in patches, order of SoB and use git format-patch -N to avoid numbering] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch')
-rw-r--r--package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch b/package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch
deleted file mode 100644
index c533419baa..0000000000
--- a/package/alsa-lib/0003-conditional-enabling-of-libdl-in-m4.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-alsa-lib: conditionally enable libdl in AM_PATH_ALSA m4 macro
-
-The AM_PATH_ALSA macro in utils/alsa.m4 unconditionally uses -ldl. This
-breaks compilation of alsa-utils (and probably other packages using this
-macro) for targets that do not support dynamic loading, such as for
-Blackfin FLAT binaries.
-
-This patch updates the macro to check if dlopen is available, and use that
-result to conditionally add -ldl to the list of libraries.
-
-Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
-
----
-
-diff --git a/utils/alsa.m4 b/utils/alsa.m4
---- a/utils/alsa.m4
-+++ b/utils/alsa.m4
-@@ -44,6 +44,8 @@ if test "$alsa_inc_prefix" != "" ; then
- fi
- AC_MSG_RESULT($ALSA_CFLAGS)
-
-+AC_CHECK_LIB(c, dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
-+
- dnl add any special lib dirs
- AC_MSG_CHECKING(for ALSA LDFLAGS)
- if test "$alsa_prefix" != "" ; then
-@@ -52,7 +54,7 @@ if test "$alsa_prefix" != "" ; then
- fi
-
- dnl add the alsa library
--ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
-+ALSA_LIBS="$ALSA_LIBS -lasound -lm $LIBDL -lpthread"
- LIBS="$ALSA_LIBS $LIBS"
- AC_MSG_RESULT($ALSA_LIBS)
-
OpenPOWER on IntegriCloud