[oe-commits] Khem Raj : curl: Fix wrong assumption about sizeof off_t on largefile systems

git at git.openembedded.org git at git.openembedded.org
Fri May 1 06:40:40 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 3c58712465494e441c4036a7cf21d2e6d343efab
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3c58712465494e441c4036a7cf21d2e6d343efab

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Apr 28 22:34:22 2015 -0700

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
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/curl/curl_7.42.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.42.0.bb b/meta/recipes-support/curl/curl_7.42.0.bb
index d4445ff..228bdb2 100644
--- a/meta/recipes-support/curl/curl_7.42.0.bb
+++ b/meta/recipes-support/curl/curl_7.42.0.bb
@@ -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



More information about the Openembedded-commits mailing list