From: Michael Lauer Date: Mon, 3 Dec 2007 20:22:24 +0000 (+0000) Subject: libsndfile 1.0.17 needs an ugly hardcoded hack for some autofoo variables otherwise... X-Git-Tag: Release-2010-05/1~8235 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=875cfc6f23ae68c6215bf32eb01a486f0387cb92;p=openembedded.git libsndfile 1.0.17 needs an ugly hardcoded hack for some autofoo variables otherwise it silently fails on runtime. all the ugly low level research done by graeme@openmoko.org - thanks! --- diff --git a/packages/libsndfile/libsndfile1_1.0.17.bb b/packages/libsndfile/libsndfile1_1.0.17.bb index cf3b6d8e48..b15f84f94f 100644 --- a/packages/libsndfile/libsndfile1_1.0.17.bb +++ b/packages/libsndfile/libsndfile1_1.0.17.bb @@ -3,13 +3,19 @@ HOMEPAGE = "http://www.mega-nerd.com/libsndfile" AUTHOR = "Erik de Castro Lopo" SECTION = "libs/multimedia" LICENSE = "LGPL" -PR = "r0" +PR = "r1" SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz" S = "${WORKDIR}/libsndfile-${PV}" inherit autotools lib_package pkgconfig +do_configure_prepend_arm() { + export ac_cv_sys_largefile_source=1 + export ac_cv_sys_file_offset_bits=64 + ac_cv_sizeof_off_t=8 +} + do_stage() { oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR} install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/