]> code.ossystems Code Review - openembedded-core.git/commitdiff
libsndfile: merge with OE
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 23 May 2008 14:08:54 +0000 (14:08 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 23 May 2008 14:08:54 +0000 (14:08 +0000)
Revision: a861d7ae9f7e1ef52c56fcb6017fe9b7c48dc72b
Ancestor: 3fe444996883cc54a95f94bd89d9fba641d08c20
Author: mickeyl@openembedded.org
Date: 2007-12-03T20:22:24
Branch: org.openembedded.dev

Modified files:
        packages/libsndfile/libsndfile1_1.0.17.bb

ChangeLog:

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!

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4549 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb

index a010c51184bff87d92c6b9679d1a0d5a9659bed0..dc1b12fc4f5e7494e82ee1fae537ea567c46da14 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
 AUTHOR = "Erik de Castro Lopo"
 SECTION = "libs/multimedia"
 LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
            file://add-cxx.patch;patch=1"
@@ -12,6 +12,12 @@ 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}/