diff options
author | Ryan Mallon <rmallon@gmail.com> | 2013-02-05 07:00:05 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-05 21:45:05 +0100 |
commit | 8f8e537d4329832fbe6e62e52ecfee8c41673f7d (patch) | |
tree | 26e6510f0d50311eb66dd09fe8cc63eac5bf1aa0 /package/multimedia/mpd | |
parent | af3fdf3e7b9ddff419b0834a8b07d6dd0575a637 (diff) | |
download | buildroot-novena-8f8e537d4329832fbe6e62e52ecfee8c41673f7d.tar.gz buildroot-novena-8f8e537d4329832fbe6e62e52ecfee8c41673f7d.zip |
libsndfile: Add dependency on BR2_LARGEFILE
libsndfile requires sizeof(sf_count_t) == 8, where sf_count_t is a
typedef alias for off_t. This is not true by default for all
tool-chains, which leads to a runtime assert failure in binaries
compiled against libsndfile. See:
http://permalink.gmane.org/gmane.comp.audio.libsndfile.devel/229
Add a dependency on BR2_LARGEFILE for libsndfile, and a comment if
BR2_LARGEFILE is not selected.
[Thomas: rebased patch, added more propagation of the new
BR2_LARGEFILE dependency to gst-plugins-good and mpd.]
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/mpd')
-rw-r--r-- | package/multimedia/mpd/Config.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/multimedia/mpd/Config.in b/package/multimedia/mpd/Config.in index 2e447418a..6e5c6900b 100644 --- a/package/multimedia/mpd/Config.in +++ b/package/multimedia/mpd/Config.in @@ -41,6 +41,7 @@ config BR2_PACKAGE_MPD_AUDIOFILE config BR2_PACKAGE_MPD_PULSEAUDIO bool "pulseaudio" depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio + depends on BR2_LARGEFILE # pulseaudio -> libsndfile select BR2_PACKAGE_PULSEAUDIO help Enable pulseaudio output support. @@ -105,10 +106,14 @@ config BR2_PACKAGE_MPD_LIBSAMPLERATE config BR2_PACKAGE_MPD_LIBSNDFILE bool "libsndfile" select BR2_PACKAGE_LIBSNDFILE + depends on BR2_LARGEFILE help Enable libsndfile input/streaming support. Select this if you want to play back WAV files. +comment "mpd-libsndfile requires a toolchain with LARGEFILE support" + depends on !BR2_LARGEFILE + config BR2_PACKAGE_MPD_MAD bool "mad" default y |