libsndfile 1.0.17 needs an ugly hardcoded hack for some autofoo variables otherwise...
authorMichael Lauer <mickey@vanille-media.de>
Mon, 3 Dec 2007 20:22:24 +0000 (20:22 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 3 Dec 2007 20:22:24 +0000 (20:22 +0000)
runtime. all the ugly low level research done by graeme@openmoko.org - thanks!

packages/libsndfile/libsndfile1_1.0.17.bb

index cf3b6d8..b15f84f 100644 (file)
@@ -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}/