]> 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>
Sun, 28 Jun 2015 08:41:52 +0000 (09:41 +0100)
This issue was reported on poky ml as well see
https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html

Change-Id: Iedf22467889893111fde0433e411fd0546a38546
(From OE-Core rev: 3c58712465494e441c4036a7cf21d2e6d343efab)

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

index 2b39d1141195fcf2531ae3ed61855ec6addc91f6..e6a6a42ea1882c65258d632abf545db4205a5066 100644 (file)
@@ -41,6 +41,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