From: Khem Raj Date: Wed, 29 Apr 2015 05:34:22 +0000 (-0700) Subject: curl: Fix wrong assumption about sizeof off_t on largefile systems X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=49c848018484827c433e1bcf9c63416640456f3e;p=openembedded-core.git curl: Fix wrong assumption about sizeof off_t on largefile systems 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/curl/curl_7.40.0.bb b/meta/recipes-support/curl/curl_7.40.0.bb index 2b39d11411..e6a6a42ea1 100644 --- a/meta/recipes-support/curl/curl_7.40.0.bb +++ b/meta/recipes-support/curl/curl_7.40.0.bb @@ -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