aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/libsndfile/libsndfile1_1.0.21.bb8
-rw-r--r--site/arm-common4
2 files changed, 7 insertions, 5 deletions
diff --git a/recipes/libsndfile/libsndfile1_1.0.21.bb b/recipes/libsndfile/libsndfile1_1.0.21.bb
index 5144e1fba0..05fcea841c 100644
--- a/recipes/libsndfile/libsndfile1_1.0.21.bb
+++ b/recipes/libsndfile/libsndfile1_1.0.21.bb
@@ -4,7 +4,7 @@ AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
DEPENDS = "sqlite3"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz;name=libsndfile1021targz"
SRC_URI[libsndfile1021targz.md5sum] = "880a40ec636ab2185b97f8927299b292"
@@ -16,6 +16,12 @@ inherit autotools_stage lib_package pkgconfig
do_configure_prepend_arm() {
ac_cv_sizeof_off_t=8
+ # they are not in one of site/ files because they are common with
+ # glib-2.0 if they are moved to common site files then they break
+ # glib-2.0 build if largefile support is not available (.e.g. uclibc
+ # can be tuned to not have it.
+ export ac_cv_sys_largefile_source=1
+ export ac_cv_sys_file_offset_bits=64
}
do_configure_prepend_chinook-compat () {
diff --git a/site/arm-common b/site/arm-common
index 00497239c3..20de8c5261 100644
--- a/site/arm-common
+++ b/site/arm-common
@@ -126,10 +126,6 @@ ac_libnet_have_packet_socket=${ac_libnet_have_packet_socket=yes}
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}
-# libsndfile
-ac_cv_sys_largefile_source=${ac_cv_sys_largefile_source=1}
-ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
-
# libxfce4util
with_broken_putenv=${with_broken_putenv=no}