From 8f8e537d4329832fbe6e62e52ecfee8c41673f7d Mon Sep 17 00:00:00 2001 From: Ryan Mallon Date: Tue, 5 Feb 2013 07:00:05 +0000 Subject: 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 Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/libsndfile/Config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/libsndfile') diff --git a/package/libsndfile/Config.in b/package/libsndfile/Config.in index 9afe4966c..cdba70bad 100644 --- a/package/libsndfile/Config.in +++ b/package/libsndfile/Config.in @@ -1,8 +1,15 @@ config BR2_PACKAGE_LIBSNDFILE bool "libsndfile" + # The absence of largefile doesn't prevent libsndfile to + # build, but at runtime the code assumes that off_t is 64 + # bits, and asserts if not. + depends on BR2_LARGEFILE help Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface. http://www.mega-nerd.com/libsndfile/ + +comment "libsndfile requires a toolchain with LARGEFILE support" + depends on !BR2_LARGEFILE -- cgit v1.2.3