[oe-commits] org.oe.dev libsndfile 1.0.17 needs an ugly hardcoded hack for some autofoo variables otherwise it silently fails on

mickeyl commit openembedded-commits at lists.openembedded.org
Tue Dec 4 01:31:38 UTC 2007


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 at openmoko.org - thanks!

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: a861d7ae9f7e1ef52c56fcb6017fe9b7c48dc72b
ViewMTN: http://monotone.openembedded.org/revision/info/a861d7ae9f7e1ef52c56fcb6017fe9b7c48dc72b
Files:
1
packages/libsndfile/libsndfile1_1.0.17.bb
Diffs:

#
# mt diff -r3fe444996883cc54a95f94bd89d9fba641d08c20 -ra861d7ae9f7e1ef52c56fcb6017fe9b7c48dc72b
#
# 
# 
# patch "packages/libsndfile/libsndfile1_1.0.17.bb"
#  from [d25b6ac16b60a27ee35771233f48b632c5b300c8]
#    to [55693de79b5f8b9b6de94566887496b36a80b463]
# 
============================================================
--- packages/libsndfile/libsndfile1_1.0.17.bb	d25b6ac16b60a27ee35771233f48b632c5b300c8
+++ packages/libsndfile/libsndfile1_1.0.17.bb	55693de79b5f8b9b6de94566887496b36a80b463
@@ -1,15 +1,21 @@ LICENSE = "LGPL"
 DESCRIPTION = "An audio format Conversion library"
 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}/






More information about the Openembedded-commits mailing list