]> code.ossystems Code Review - openembedded-core.git/commitdiff
curl: Fix wrong assumption about sizeof off_t on largefile systems
authorKhem Raj <raj.khem@gmail.com>
Wed, 29 Apr 2015 05:34:22 +0000 (22:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Apr 2015 22:01:27 +0000 (23:01 +0100)
This issue was reported on poky ml as well see
https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html

Change-Id: Iedf22467889893111fde0433e411fd0546a38546
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/curl/curl_7.42.0.bb

index d4445ff8d4469d55fff2c4417694a2289180d663..228bdb23af7f98ea43180be7049caa6160f936ae 100644 (file)
@@ -37,6 +37,9 @@ EXTRA_OECONF = "--without-libidn \
                 --disable-ldaps \
                 --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
 "
+# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
+# We should ideally drop ac_cv_sizeof_off_t from site files but until then
+EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
 
 do_install_append() {
        oe_multilib_header curl/curlbuild.h