From patchwork Mon Sep 17 22:41:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: libsndfile: select BR2_LARGEFILE Date: Mon, 17 Sep 2012 12:41:26 -0000 From: Ryan Mallon X-Patchwork-Id: 184573 Message-Id: <5057A716.4070702@gmail.com> To: buildroot@busybox.net, thomas.petazzoni@free-electrons.com 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 Select BR2_LARGEFILE for libsndfile so that sizeof(off_t) == 8. Signed-off-by: Ryan Mallon --- diff --git a/package/libsndfile/Config.in b/package/libsndfile/Config.in index 9afe496..4897ed1 100644 --- a/package/libsndfile/Config.in +++ b/package/libsndfile/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBSNDFILE bool "libsndfile" + select 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)